Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fs_json.h
Go to the documentation of this file.
1
26
27#ifndef _FS_JSON_H_
28#define _FS_JSON_H_
29
30#include "cnfs_image.h"
31
32char* loadJson(cnfsFileIdx_t fIdx, bool spiRam);
33void freeJson(char* jsonStr);
34
35#endif
void freeJson(char *jsonStr)
Free an allocated JSON string.
Definition fs_json.c:60
char * loadJson(cnfsFileIdx_t fIdx, bool spiRam)
Load a JSON from ROM to RAM. JSONs placed in the assets_image folder before compilation will be autom...
Definition fs_json.c:37