The title of the thread indicates that you want to modify the contents
Yes, that I want to do. I added that commented line because of a related thread that adds a field to a JSON::Any type variable: Adding a field to a json object - #2 by asterite
Can you clarify how you do want to modify it?
By changing any value inside the JSON object. I do not need to add a field.
I’m not really good at explaining things (especially with languages I am currently learning, in this case, Crystal) so ask me anything in case what I said was not so clear.