Public Questions for tag [json]

Ask Question

5 questions


0

Vote

4

Answers

113

View

How can I display JSON in an easy-to-read (for human readers) format? I'm looking primarily for indentation and whitespace, with perhaps even colors / font-styles / etc.

Jan 28

0

Vote

4

Answers

20

View

Why does Google prepend while(1); to their (private) JSON responses?For example, here's a response while turning a calendar on and off in Google Calendar:while (1); [ ['u', [ ['smsSentFlag',

Jan 10

0

Vote

3

Answers

19

View

Say I create an object as follows:let myObject = { "ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*", }; How should I remove the property regex to end up with new myObject as

Dec 31

0

Vote

2

Answers

86

View

I have page one with the name (page1.php). I want to get data from page2.php in JSON.How I can do this on page2.php to return JSON.Another thing that could help me if answered, lately I've been retrie
php json 

Nov 27

0

Vote

4

Answers

55

View

I want to return clean JSON from a PHP header script after page load. Do I have to set the Content-Type header or just echo result?

Nov 27