Homebrew ["Release"] Bwoken JSON Parser

  • Thread starter Thread starter WhoAmI?
  • Start date Start date
  • Views Views 1,653
  • Replies Replies 5
  • Likes Likes 1

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Reaction score
1,013
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,309
Country
Yes. The parser somewhat works but there is two bugs:

  1. After finding the requested value, the rest of the JSON file is printed after it.
  2. If you call "parse_json" more than once, you'll crash back to the home menu.
Feel free to improve and try to add it in your homebrews. The code looks crappy because I'm a total noob at C, so... Have fun with my bwoken JSON parser! :D I wouldn't recommend this as daily-driver code as it's pretty much useless with these bugs.

IMG_20150903_144322.jpg

Worst source ever: https://github.com/lavanoid/3DS_JSON_Parser
 
Last edited by WhoAmI?,
  • Like
Reactions: Margen67
What does this do
It reads a json file (used for storing configurations) and is meant to parse the values. In the current source code, it tries to find the value of "frequency". It finds the value BUT the rest of the JSON file gets outputted with it, for some reason.

Basically, it's a configuration reader. Useful for applications who need configurable options. rxTools uses a JSON parser, which ACTUALLY works :/
 
  • Like
Reactions: Naked_Snake

Site & Scene News

Popular threads in this forum