-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect deserialization of some legacy formats
In at least some cases, the legacy format includes an additional field that needs to be considered. # ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin22] require "ostruct" require "yaml" os = OpenStruct.new os.a = 'b' YAML.dump(os) # => "--- !ruby/object:OpenStruct\ntable:\n🅰️ b\nmodifiable: true\n"
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters