generatedata icon indicating copy to clipboard operation
generatedata copied to clipboard

Boolean values in JSON

Open alexanderfefelov opened this issue 6 years ago • 1 comments

Setup

2

JSON output

[
	{
		"bool": "false"
	},
	{
		"bool": "true"
	}
]

What's wrong

Boolean values in JSON must not be quoted.

From http://json.org/:

A value can be a string in double quotes, or a number, or true or false or null, or an object or an array.

alexanderfefelov avatar Aug 08 '19 22:08 alexanderfefelov

Thanks @alexanderfefelov - I'll try to get this into the next version.

benkeen avatar Sep 04 '19 04:09 benkeen