AnsweredAssumed Answered

JSON KeyIndexOrPath when key contains "."

Question asked by Jason Wood on Feb 13, 2018
Latest reply on Feb 14, 2018 by fmpdude

How do I format KeyIndexOrPath when a key contains a "."?

 

I am trying to parse the following JSON, which I'm getting from a web service. I can get the phone & email but not the first and last name:

 

{

  "1.3" : "Bob,

  "1.6" : "Barker",

  "2" : "(555) 555-5555",

  "3" : "bob@bob.com"

}

 

I tried quoting with single and double-quotes and I tried escaping the dot with a backslash.

Outcomes