-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make json-simple available to scripts #1982
Comments
There is the JSONParser although it isn't that fun to use and is not intuitive. This is an example of using it
The reason for the unchecked conversion to String keys is because the json requires a key to be a string. https://en.wikipedia.org/wiki/JSON#Data_types_and_syntax |
Didn't know about that...thanks. Is there anything to take a map and produce a JSON string? |
Actually I don't think there is. To be honest I would love to see this parser replaced with something much more user friendly. Of course there are existing alternatives, but none I'd actually recommend. Bad alternative |
I've used json-simple before (for Ghidra and other things). It's pretty good. |
FYI, if you simply wish to turn Java objects to pretty JSON strings, then you can use our new |
I was looking to go both directions with it. |
I know this is closed, but just wanted to say thank you for doing this! Adding a way to import GSON saves me from making most of my Ghidra script's into full extensions (since that was the best way to bring that JAR along). |
There is a trivial example in the |
Sometimes I want to use JSON in a GhidraScript, but Ghidra only uses json-simple at build time...it is not available at runtime. I think it can be included in Framework Generic.
The text was updated successfully, but these errors were encountered: