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

281
Views
How to deconstruct a parameter that contains a special character?

I am using querysString.parse to deconstruct the URL parameters, and some of them have brackets [].

This is part of the string that I am deconstructing title=wasabi&calories=50&nutrients%5BCA%5D=500

nutrients%5BCA%5D this is the parameter I need to deconstruct, but I don't know how to escape the special characters. I know I have to rename it, but I need to access it first!

const { title, nutrients%5BCA%5D : nutritiant  } = querysString.parse(location.search)

Any ideas how do I do that?

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!