Skip to content

Instantly share code, notes, and snippets.

@mattn
Created July 2, 2009 04:57
Show Gist options
  • Save mattn/139274 to your computer and use it in GitHub Desktop.
Save mattn/139274 to your computer and use it in GitHub Desktop.
Index: picojson.h
===================================================================
--- picojson.h (revision 36)
+++ picojson.h (working copy)
@@ -266,9 +266,9 @@
do {
value key, val;
if (in.match("\"") == input<Iter>::positive
- && _parse_string(key, in) == input<Iter>::positive
+ && _parse_string(key, in)
&& in.match(":") == input<Iter>::positive
- && _parse(val, in) == input<Iter>::positive) {
+ && _parse(val, in)) {
o[key.to_str()] = val;
} else {
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment