eJson initial import
This commit is contained in:
27
json/json_null.e
Normal file
27
json/json_null.e
Normal file
@@ -0,0 +1,27 @@
|
||||
indexing
|
||||
description: "JSON Null Values"
|
||||
author: "Javier Velilla"
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
JSON_NULL
|
||||
inherit
|
||||
JSON_VALUE
|
||||
|
||||
feature --Access
|
||||
to_json:STRING is
|
||||
--
|
||||
do
|
||||
Result:=null_value
|
||||
end
|
||||
|
||||
hash_code:INTEGER is
|
||||
--
|
||||
do
|
||||
Result:= null_value.hash_code
|
||||
end
|
||||
|
||||
feature -- Implementation
|
||||
null_value:STRING is "null"
|
||||
end
|
||||
Reference in New Issue
Block a user