![]() |
Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
|
An immutable map describing the changes to a JSON value. More...
#include <PTDiffusionJSONDeltaChangeMap.h>
Instance Methods | |
| (nullable PTDiffusionJSONDeltaChangeMap *) | - descendantsOfPointer:error: |
| (nullable PTDiffusionJSONDeltaChangeMap *) | - intersectionOfPointer:error: |
Properties | |
| NSDictionary< NSString *, PTDiffusionJSON * > * | map |
An immutable map describing the changes to a JSON value.
The map contains an entry for each change, as follows:
| - (nullable PTDiffusionJSONDeltaChangeMap *) descendantsOfPointer: | (NSString *) | pointer | |
| error: | (NSError **) | error |
Returns a view of the portion of this map whose keys are descendants of pointer. If pointer is contained in this map, it will be included in the result.
| pointer | JSON pointer |
| error | Location to store a reason in case of failure. May be nil. |
| NSInvalidArgumentException | If `pointer` is `nil`. |
| - (nullable PTDiffusionJSONDeltaChangeMap *) intersectionOfPointer: | (NSString *) | pointer | |
| error: | (NSError **) | error |
Returns a view of the portion of this map whose keys are descendants or parents of pointer. If pointer is contained in this map, it will be included in the result.
This method can be used to determine whether a structural delta affects a particular part of a JSON value.
| pointer | JSON pointer |
| error | Location to store a reason in case of failure. May be nil. |
| NSInvalidArgumentException | If `pointer` is `nil`. |
|
readnonatomicassign |
The entries forming the change map.