Despite spending an hour searching online, I feel a bit hesitant to ask this question. Can null characters (ascii null or \0
) be used within JSON? I know they are not allowed within JSON strings, but my query is whether they can be included in the body at all.
So, is something like this considered valid:
{
"MyKey": "MyValue"\0
}
Where the \0
represents an actual null character and not an escaped one?