Skip to content

Arbitrary JSON #26

Answered by eandre
Minivera asked this question in Help
May 3, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can use json.RawMessage to communicate that a particular field holds raw, arbitrary JSON. And then you can parse it yourself in the handler in whatever way is best for you.

Hope that helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Minivera
Comment options

Answer selected by eandre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants