FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Handle JSON outputs. More...
Go to the source code of this file.
Functions | |
void | writeJson () |
Write the scan output as a JSON. | |
char * | unescapePathSeparator (const char *json) |
Unescape the path separator from JSON. More... | |
void | initializeJson () |
void | destroyJson () |
Handle JSON outputs.
Definition in file json_writer.h.
|
inline |
Destory the semaphore the comma flag for JSON
Definition at line 140 of file json_writer.c.
|
inline |
Initialize the semaphore and boolean to store flag for comma in JSON
Definition at line 131 of file json_writer.c.
char* unescapePathSeparator | ( | const char * | json | ) |
Unescape the path separator from JSON.
Unescape the path separator from JSON string to make it readable.
`"\/folder\/folder2\/file" => "/folder/folder2/file"
json | String to unescape |
Definition at line 90 of file json_writer.c.