File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55
66class String
77 # call-seq: json_create(o)
8- #
8+ #
99 # Raw Strings are JSON Objects (the raw bytes are stored in an array for the
1010 # key "raw"). The Ruby String can be created by this class method.
1111 def self . json_create ( object )
1212 object [ "raw" ] . pack ( "C*" )
1313 end
1414
1515 # call-seq: to_json_raw_object()
16- #
16+ #
1717 # This method creates a raw object hash, that can be nested into
1818 # other data structures and will be generated as a raw string. This
1919 # method should be used, if you want to convert raw strings to JSON
@@ -26,7 +26,7 @@ def to_json_raw_object
2626 end
2727
2828 # call-seq: to_json_raw(*args)
29- #
29+ #
3030 # This method creates a JSON text from the result of a call to
3131 # to_json_raw_object of this String.
3232 def to_json_raw ( ...)
You can’t perform that action at this time.
0 commit comments