Guest User

Untitled

a guest
Jan 22nd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. var stringsObj = JSON.parse('{{{ json stringsDataObj }}}');
  2.  
  3. function json(context) {
  4. return JSON.stringify(context);
  5. }
  6.  
  7. stringsDataObj = {
  8. "str1": "I'm here",
  9. "str2": "You're there"
  10. }
  11.  
  12. var stringsObj = JSON.parse('"str1": "I'm here", "str2": "You're there"');
Add Comment
Please, Sign In to add comment