[FIX] Convertion from HASH_TABLE keys to JSON
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.swp
|
||||||
@@ -71,7 +71,11 @@ feature -- Conversion
|
|||||||
until
|
until
|
||||||
c.after
|
c.after
|
||||||
loop
|
loop
|
||||||
|
if attached {JSON_STRING} json.value (c.key) as l_key then
|
||||||
|
js := l_key
|
||||||
|
else
|
||||||
create js.make_json (c.key.out)
|
create js.make_json (c.key.out)
|
||||||
|
end
|
||||||
jv := json.value (c.item)
|
jv := json.value (c.item)
|
||||||
if jv /= Void then
|
if jv /= Void then
|
||||||
Result.put (jv, js)
|
Result.put (jv, js)
|
||||||
|
|||||||
Reference in New Issue
Block a user