Permalink
Browse files

* ext/psych/lib/psych/json/yaml_events.rb: implicit styles should not

  be changeable for JSON events.
  • Loading branch information...
1 parent b01bf0f commit 9316aa38859492b06f4339336184fd303a033530 @tenderlove tenderlove committed Apr 29, 2012
Showing with 7 additions and 2 deletions.
  1. +5 −0 CHANGELOG.rdoc
  2. +2 −2 lib/psych/json/yaml_events.rb
View
@@ -1,3 +1,8 @@
+Mon Apr 30 04:43:53 2012 Aaron Patterson <aaron@tenderlovemaking.com>
+
+ * ext/psych/lib/psych/json/yaml_events.rb: implicit styles should not
+ be changeable for JSON events.
+
Sat Apr 7 02:07:00 2012 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/parser.c: fall back to any encoding if the external
@@ -10,11 +10,11 @@ def end_document implicit_end = !streaming?
end
def start_mapping anchor, tag, implicit, style
- super(anchor, nil, implicit, Nodes::Mapping::FLOW)
+ super(anchor, nil, true, Nodes::Mapping::FLOW)
end
def start_sequence anchor, tag, implicit, style
- super(anchor, nil, implicit, Nodes::Sequence::FLOW)
+ super(anchor, nil, true, Nodes::Sequence::FLOW)
end
def scalar value, anchor, tag, plain, quoted, style

0 comments on commit 9316aa3

Please sign in to comment.