cols-agent-tasks icon indicating copy to clipboard operation
cols-agent-tasks copied to clipboard

If values are numbers/booleans don't tokenize them into strings.

Open MathewBerg opened this issue 4 years ago • 1 comments

Don't tokenizine things that aren't strings. This will convert

{
	"string": "string",
	"number":  5,
	"boolean": false
}

Into

{
	"string": "__string__",
	"number":  __number__,
	"boolean": __boolean__
}

Which will allow values like false/true/5/etc... to be added in later. It is invalid JSON though.

MathewBerg avatar Jun 25 '21 21:06 MathewBerg

Also should we maybe have it be a flag? I could see this potentially breaking some current tokenizations for people.

MathewBerg avatar Jun 25 '21 21:06 MathewBerg