AndrewRedican / react-json-editor-ajrm

A modular, easy to use, react component, to view, edit, and debug javascript objects.
MIT License
355 stars 124 forks source link

Editor wrong parsing string with backslash and quote #195

Closed zakariametal closed 1 year ago

zakariametal commented 2 years ago
  1. What version of RJEA are you using (react-json-editor-ajrm version)?
    2.5.13
  2. What operating system and processor architecture are you using?
    Linux, AWS EC2
  3. What did you do? Try to parse this string \"\\\"lorem ipsum dolor sit amet\\\"\"
  4. What did you expect to see? *REQUIRED "\"lorem ipsum dolor sit amet\""
  5. What did you see instead? *REQUIRED "\"
gudapraveenkumar commented 2 years ago

Even I have same problem, for example I was trying to render this simple {test:"[{\"a\":\"abc\",\"d\":\"edf\",\"c\":1}]"} and I get this in the editor

Screenshot 2021-11-24 at 17 15 29
SoniaComp commented 2 years ago

I have the same issue! I will check the code and make a PR for this issue.

shallinta commented 2 years ago

have the same issue

AndrewRedican commented 1 year ago

I no longer intend to update this project. I am working instead on a complete rewrite.

I'd like to thank you for using and taking interest in this project.

I also would like to apologize for not following up sooner. However, do realize for the most part this has been a one-man show, and the occasional contributions I used to receive. What I am saying is, I am in dire need of volunteers.

If this is something you would be interested in participating in, you can join in the discussion.

I've taken note of this thread, and I'll keep this under consideration for the new project.