Nov. 19, 2016
7:56 p.m.
Peter, You are right, that is a bug. STON should be a bit more strict when it is in JSON mode. I'll fix it and let you know. Thanks for reporting this issue. Sven
On 19 Nov 2016, at 17:46, <i.uhnak@gmail.com> <i.uhnak@gmail.com> wrote:
\â is not a valid JSON escape character, so STONâs JSON ouput is not a valid JSON string.
ston := STON toJsonString: 'element''s'. -> "element\'s" neo := NeoJSONWriter toString: 'element''s'. -> "element's"
NeoJSONReader fromString: ston. -> invalid escape character \â
Peter