Is it possible to check if a json is 'valid', by valid I mean the same type: for example
{"name": "John Doe", "username": "jhndoe"}
and
{"name": "Jane Doe", "username": "jane12"}
would be the same, but
{"name": "Ann Onymouse", "username": "anon"}
and
{"name": true, "age": "24"}
wouldn't.