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

122
Views
Line break is breaking API data set. Can I convert to safe character at once? | VS Code / Javascript

Can line-break break the code? If so, how can I solve it? I have more than 100 javascript API data sets like the one below.

{
    ID: 1,
    post_title: "ABC PLACE",
    subtitle: "",
    image: {
      full: { url: Images.abcplace },
      thump: { url: Images.abcplace },
    },
    location: {
      locId: 35,
      locName: "ABC",
      latitude: 42.11111,
      longitude: -73.11111,
    },
    address: "",
    phone: "",
  },

And I found that bracket color paring stopped coloring from the last 2-3 sets in VS code like thisscreenshot

I finally found that some of the line-break are interrupting. If I delete one line-break, one bracket color comes back. If I delete 2, 2 colors come back. Commenting out does not solve. But If I add the line-break back using Prettier, the color is gone again. It does compile without any problem, but I really want to know what is going on. I also used this website to check any hidden characters, but there is only CR LF which is a line break.

I appreciate any suggestions or comments!

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!