Module: JSON
- Defined in:
- lib/firm/serializer/json.rb
Class Method Summary collapse
Class Method Details
.parse!(*args, **kwargs) ⇒ Object
311 312 313 314 315 316 317 318 319 320 321 322 323 |
# File 'lib/firm/serializer/json.rb', line 311 def parse!(*args, **kwargs) begin # setup parsing stack for safe or normal deserializing # the double bracketing provided from FIRM::Serializable::JSON#load and here # makes sure to support both nested Wx::SF deserializing as well as nested # hybrid deserializing (Wx::SF -> common JSON -> ...) FIRM::Serializable::JSON.start_parse pre_firm_parse!(*args, **kwargs) ensure # reset parsing stack FIRM::Serializable::JSON.end_parse end end |
.pre_firm_parse! ⇒ Object
310 |
# File 'lib/firm/serializer/json.rb', line 310 alias :pre_firm_parse! :parse! |