Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

144
Views
Remove all quotes from json object's keys

I'm trying to send a command from js to graph ql and I'm getting quotation issues. I'm trying to convert a json object to a string to pass into my graphql post.

This is the json object...

{
   "name": "James",
   "description": "Here is a note",
   "managers":[
      {
         "id":"984035"
      },
      {
         "id":"865130"
      }
   ],
   "clients":[
      {
         "id":"12365"
      },
      {
         "id":"179354"
      }
   ]
}

However I need it written like so in order to successfully work...

{
   name: "James",
   description: "Here is a note",
   managers:[
      {
         id:"984035"
      },
      {
         id:"865130"
      }
   ],
   clients:[
      {
         id:"12365"
      },
      {
         id:"179354"
      }
   ]
}

How can I convert the top json object to appear like the desired output?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!