Can I put emojis in JSON?
Yes. Emojis are valid UTF-8 characters, so {"message": "🎉 hello"} is perfectly legal JSON. Some older tools escape them to surrogate pairs (\uD83C\uDF89) — both forms are valid; the parsed value is identical.
Yes. Emojis are valid UTF-8 characters, so {"message": "🎉 hello"} is perfectly legal JSON. Some older tools escape them to surrogate pairs (\uD83C\uDF89) — both forms are valid; the parsed value is identical.