Skip to content
Discussion options

You must be logged in to vote

JSON is just a string, so if you encode the hashref to JSON, you can pass it as a string value into a template or through a form. If you don't need the form to do anything with individual values this seems easiest. (Use from_json/to_json not encode_json/decode_json for this purpose since the request and response transport will handle UTF-8 encoding.)

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@guest20
Comment options

@EdwardsMike
Comment options

@guest20
Comment options

@EdwardsMike
Comment options

@guest20
Comment options

Comment options

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

Answer selected by EdwardsMike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants