Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sbellus committed Jun 11, 2015
1 parent 981785e commit 8029ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## JSON parser for CMake

Module JSONParser.cmake contains macro `sbeParseJson` to parse JSON string stored in given variable.
Macro fills given variable with list of all names in JSON string. For each name it creates variable and sets the value from JSON string.
Module JSONParser.cmake contains macro `sbeParseJson` to parse JSON string stored in given variable (second argument).
Macro fills given variable (first argument) with list of all names in JSON string. For each name it creates variable and sets the value from JSON string.
To clear created variables use macro `sbeClearJson`.

> **Module does not validate given JSON string. If given JSON is malformed, the macro gives unpredictable result.**
Expand Down

0 comments on commit 8029ef3

Please sign in to comment.