Diffusion Apple API  6.3.3
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | Properties | Instance Methods | List of all members
PTDiffusionJSONDeltaChangeMap Class Reference

Introduction

An immutable map describing the changes to a JSON value.

The map contains an entry for each change, as follows:

Since
6.3
Inheritance diagram for PTDiffusionJSONDeltaChangeMap:

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

NSDictionary< NSString
*, PTDiffusionJSON * > * 
map
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(nullable
PTDiffusionJSONDeltaChangeMap *) 
- descendantsOfPointer:error:
 
(nullable
PTDiffusionJSONDeltaChangeMap *) 
- intersectionOfPointer:error:
 

Method Documentation

- (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.

Exceptions
NSInvalidArgumentExceptionIf pointer is nil.
Since
6.3
- (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.

Exceptions
NSInvalidArgumentExceptionIf pointer is nil.
Since
6.3

Property Documentation

- (NSDictionary<NSString *, PTDiffusionJSON *>*) map
readnonatomicassign

The entries forming the change map.