jsx/priv/test_cases/fraction.test

19 lines
No EOL
357 B
Text

{name, "fraction"}.
{jsx, [start_array,start_array,
{float,2.0},
end_array,
{float,2.0},
start_object,
{key,<<"key">>},
{float,2.0e7},
{key,<<"another key">>},
{float,2.0e7},
end_object,start_object,
{key,<<"key">>},
{float,2.0},
{key,<<"another key">>},
{float,2.0},
end_object,
{float,4.321},
end_array,end_json]}.
{json, "fraction.json"}.