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 cannot 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. 2 years ago
bin Add makefile structure the files a bit. 2 years ago
include/jsmnx Reorg jsmnx stuff 2 years 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. 2 years ago
.gitignore Add C JSMN based parsing program to bin 2 years 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. 2 years ago
README.md Add readme, gitignore 2 years 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.