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

169
Views
Need to parse the string for the key:object (JavaScript)
var url = '{access=Свободный, superviser=Ромашкина Яна Витальевна, Spname=Классы Э-2, Э-3, Э-4, name=Эмоции и новая политическая культура, format=Дискуссия, project=Школа эмоционального здоровья, finishDate=09.ноя.2021 22:45, href=Doc?k=Ev&id=d50ed0941c79cf06b917915daaas34bd9aeaf1g8h8f77c32c5d1cea615e25f7721b8a9af0c08157c4f7c548aaaf293ec2dfd410425a4c8fa4314aeec302c8f82470098, Tp=Learning, startDate=09.ноя.2021 18:00, produser=Иванонв Иван Иванович}'

The problem is that the separator is " , " and the values also contain " , "

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The problem here is that this is actually an incorrect JSON-Format.

If you have the possibility you should quote at least the values like

var url = '{access="Свободный", superviser="Ромашкина Яна Витальевна", Spname="Классы Э-2, Э-3, Э-4", name="Эмоции и новая политическая культура", format="Дискуссия", project="Школа эмоционального здоровья", finishDate="09.ноя.2021 22:45", href="Doc?k=Ev&id=d50ed0941c79cf06b917915daaas34bd9aeaf1g8h8f77c32c5d1cea615e25f7721b8a9af0c08157c4f7c548aaaf293ec2dfd410425a4c8fa4314aeec302c8f82470098", Tp="Learning", startDate="09.ноя.2021 18:00", produser="Иванонв Иван Иванович"}'

It may be possible to filter for "key=" pattern but then still you have key value pairs in the url of the href-Property.

about 4 years ago · Juan Pablo Isaza Report
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!