Fixed feature typo, improved commands, added AutoTest

This commit is contained in:
jvelilla
2013-04-16 17:31:33 -03:00
parent c63e307179
commit ce2ca051f6
9 changed files with 194 additions and 38 deletions

View File

@@ -58,6 +58,19 @@ feature -- Access
end
end
json_to_se_response (post: STRING_32): detachable SE_RESPONSE
local
parser: JSON_PARSER
do
initialize_converters (json)
create parser.make_parser (post)
if attached parser.parse_object as st and parser.is_parsed then
if attached {SE_RESPONSE} json.object (st, "SE_RESPONSE") as l_response then
Result := l_response
end
end
end
initialize_converters (j: like json)
-- Initialize json converters
do