Line breaks in JSON

bachmeier no at spam.net
Thu May 10 15:25:06 UTC 2018


On Thursday, 10 May 2018 at 15:01:57 UTC, rikki cattermole wrote:

> You'll need to unescape them (which is pretty easy, a simple 
> replacement here).
>
> For reference, this is invalid json[0]:
>
> ```
> {
> 	"1
> 	2
> 	3 "
> }
> ```
>
> [0] https://jsonlint.com/

So I see the answer is that I don't understand json. A search 
reveals that this is a common mistake.


More information about the Digitalmars-d-learn mailing list