Skip to content

Half baked, half working JSON parser for university OOP course. Developed with c++, using a lot of syntax sugar ( OOP priciples )

Notifications You must be signed in to change notification settings

eGuardianDev/JsonParse

Repository files navigation

Json Parse

Todo:

  • Main functionality
    • opening files
    • fix tree data passing for array ( getData() )
    • Implement data input
      • validation
      • saving data in tree
    • manipulating data
    • display data in good way "pretty"
  • Unit testing
    • Check out library (404 lost in work)
    • save data
    • manipulation
  • Examples
  • Documentation

simple fixes:

  • fix the file system to name with spaces
  • rewrite error messages to be outside the library

Notes:

  • files needed to be reopened if changed

  • Current data display kinda works, but need validator

  • Validator needs to check 2 things - if key-value is correct, brackets.

  • Concepts/test4.cpp - the tree memory system

  • Concepts/test2.cpp - void casting

  • please check one version before 16.10.2024

  • may cause problem in version 16.10.2024

Helpful links:

  • the schematics of the JSON Parser here
  • libary for testing here
  • concept to export as library here

Where code was taken from links:

https://stackoverflow.com/questions/556277/trim-remove-a-tab-t-from-a-string

https://stackoverflow.com/questions/46535422/c-copying-another-file

https://stackoverflow.com/questions/4053837/colorizing-text-in-the-console-with-c

https://stackoverflow.com/questions/53359727/how-to-save-and-also-read-c-fstream-file-without-closing-it

https://chatgpt.com/c/46e9dfad-e87f-4be2-9349-159e96d2c068
check Concepts/test2.cpp

https://stackoverflow.com/questions/4053837/colorizing-text-in-the-console-with-c

https://stackoverflow.com/questions/14265581/parse-split-a-string-in-c-using-string-delimiter-standard-c

https://stackoverflow.com/questions/650162/why-cant-the-switch-statement-be-applied-to-strings

https://stackoverflow.com/questions/307765/how-do-i-check-if-an-objects-type-is-a-particular-subclass-in-c

About

Half baked, half working JSON parser for university OOP course. Developed with c++, using a lot of syntax sugar ( OOP priciples )

Topics

Resources

Stars

Watchers

Forks

Languages