Just messing around with code for parsing the JSON spit out by the mastodon-backup tool. This probably will not be useful to for anything just doing this out of boredom.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ICScaryThings 478e97f147
Process iteratively in jsmnx and reallocate rather than doing two parses which is about 100ms slower out of 400ms total for my test file.
1 year ago
bin Add makefile structure the files a bit. 1 year ago
include/jsmnx Reorg jsmnx stuff 1 year ago
src Process iteratively in jsmnx and reallocate rather than doing two parses which is about 100ms slower out of 400ms total for my test file. 1 year ago
.gitignore Add C JSMN based parsing program to bin 1 year ago
Makefile You have to link libraries AFTER the input C and O files to GCC. I always forget this because it is retarded and makes zero sense. 1 year ago
README.md Add readme, gitignore 1 year ago

README.md

Profile Parser

Just me messing around with parsing the JSON file dumped by mastodon-backup. Probably not very useful for anything at the moment. Also it is written in C++ and uses RapidJSON (a Chinese library) to do the parsing. I may try redoing this in C instead in the future if it turns into anything useful otherwise not worth the effort.