JSONParser.cpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #include "JSONParser.h"
  2. #include "DiskFile.h"
  3. #include "OS.h"
  4. #include "StringUtils.h"
  5. #include "Assert.h"
  6. #include <stdlib.h>
  7. namespace crown
  8. {
  9. //--------------------------------------------------------------------------
  10. JSONParser::JSONParser(Allocator& allocator, const char* s) :
  11. m_allocator(allocator)
  12. {
  13. }
  14. //--------------------------------------------------------------------------
  15. JSONParser& JSONParser::root()
  16. {
  17. }
  18. //--------------------------------------------------------------------------
  19. JSONParser& JSONParser::object(const char* key)
  20. {
  21. JSON::parse_object()
  22. }
  23. //--------------------------------------------------------------------------
  24. JSONParser& JSONParser::array(const char* key, uint32_t index)
  25. {
  26. }
  27. //--------------------------------------------------------------------------
  28. JSONParser& JSONParser::string(const char* key)
  29. {
  30. }
  31. //--------------------------------------------------------------------------
  32. JSONParser& JSONParser::number(const char* key)
  33. {
  34. }
  35. //--------------------------------------------------------------------------
  36. JSONParser& JSONParser::boolean(const char* key)
  37. {
  38. }
  39. } //namespace crown