Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ For example, the following code converts all numbers to floats and makes strings
```squirrel
result <- JSONParser.parse(jsonString, function (value, type) {
if (type == "number") {
return val.tofloat();
return value.tofloat();
} else if (type == "string") {
return val.toupper();
return value.toupper();
}
});
```
Expand Down