-1

if I have some html that is encoded in json format. How can I get back my html in order to display it on a page or something? json_decode does not seem to work

Thank you

5
  • 8
    Provide some code Commented Jun 7, 2013 at 19:09
  • I believe stringify()? Not entirely sure because no code. Commented Jun 7, 2013 at 19:11
  • How is the HTML encoded? Commented Jun 7, 2013 at 19:11
  • json_decode is a php method, are you trying to decode it in php? Commented Jun 7, 2013 at 19:16
  • Here's a related question about parsing html from json: stackoverflow.com/questions/6084505/… Commented Jun 7, 2013 at 19:23

1 Answer 1

0

you can decode it in jquery using parseJSON()

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.