Has anyone done Go based JSON Escape/Unescape yet? 

I want to pass any arbitrary content as a JSON string:

  {
      "content": "my escaped strings {\n         \"employees\": {\n         
    \"employee\": [\n                 {\n                     \"id\": 
\"1\",..."
  }

In order to pass a JSON string inside another JSON string in such a 
> scenario, you need to escape it (e.g. manually via JSON Escape/Unescape 
> <http://codebeautify.org/json-escape-unescape>).


 
Is there a Go package ready-made for it somewhere? 
Else, what are to be escaped so that I can embed any arbitrary content as a 
JSON string?

Thx


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to