Changes between Initial Version and Version 1 of Ticket #11104, comment 8


Ignore:
Timestamp:
Aug 5, 2014, 6:36:43 PM (10 years ago)
Author:
axeld

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11104, comment 8

    initial v1  
    33
    44Exactly. This is why both should be optional. You may want to pass a BDataIO to the parser instead, and use a DOM parser style handler to handle the contents.
    5 The BMessage handler would just be an optional handler with a convenience method just like already exists.
     5The BMessage handler would just be an optional handler with a convenience method just like the one that already exists.
    66
    77> Also, what do you mean about a callback? The BMessage is passed in for a reason -- whatever calls Json::Parse should own it.