gauravkeshre / MacroFileGenerator

THe tool generates a macro file with the keys in a JSON response

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS JS

MacroFileGenerator

Long ago, in the era of ObjC and a when I had an obsesion with naming every tiny string in the code especially when it was coming from backend.

Manually parsing each response and seperate the keys and then create the macro from it was a boring and mechanical task. And as this was becoming more a team practice, more people were doing this mechanical task.

So I developed a handy tool that helped generating macro-constants files with keys from a json.

Input

  • JSON
  • URL

Output

  • .h file with constants derived from keys in the input json

Screenshots

Alt text

Alt text

About

THe tool generates a macro file with the keys in a JSON response


Languages

Language:JavaScript 75.0%Language:CSS 23.9%Language:HTML 1.1%