eJson initial import

This commit is contained in:
jvelilla
2008-05-24 14:23:27 +00:00
commit 308fa7f2e7
13 changed files with 854 additions and 0 deletions

39
json/json_boolean.e Normal file
View File

@@ -0,0 +1,39 @@
indexing
description: "JSON Truth values"
author: "Javier Velilla"
date: "$Date$"
revision: "$Revision$"
class
JSON_BOOLEAN
inherit
JSON_VALUE
create
make_boolean
feature -- Initialization
make_boolean(a_value:BOOLEAN) is
--
do
value:=a_value
end
feature -- Access
to_json:STRING is
--
do
Result:=value.out
end
hash_code:INTEGER is
--
do
Result:=value.hash_code
end
value:BOOLEAN
end