Is there function to create a json from a string looks like this "sys.exec.out.dyn.cannon.pos[1]" #4293
Answered
by
gregmarr
yusufcananar
asked this question in
Q&A
-
I am coding a db recording app in C++ and I want to have a json like this
Where I use my own function to record to db:
currently i am parsing the string by dots and brackets to achieve my goal. |
Beta Was this translation helpful? Give feedback.
Answered by
gregmarr
Feb 14, 2024
Replies: 1 comment 2 replies
-
You can do this using JSON Pointer and some simple replacements. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
yusufcananar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this using JSON Pointer and some simple replacements.
https://www.godbolt.org/z/MhafPGhqG