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, <[email protected]> <[email protected]> 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


Reply via email to