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
PTDiffusionJSONDelta Class Reference

Introduction

An immutable structural delta describing the differences between two JSON values.

Unlike a binary delta, a structural delta can be queried to determine its effect.

JSON deltas are useful for identifying small changes to complex JSON values.

See Also
PTDiffusionJSON
Since
6.3
Inheritance diagram for PTDiffusionJSONDelta:

Class Methods

(instancetype) + NS_UNAVAILABLE
 

Properties

PTDiffusionJSONDeltaChangeMapremoved
 
PTDiffusionJSONDeltaChangeMapinserted
 
BOOL changes
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 

Property Documentation

- (BOOL) changes
readnonatomicassign

Whether the two JSON values used to create this instance are different.

Since
6.3
- (PTDiffusionJSONDeltaChangeMap*) inserted
readnonatomicassign

The parts of the second JSON value not found in the first JSON value.

Note
The pointer references used for the change map keys are relative to the second JSON value.
Since
6.3
- (PTDiffusionJSONDeltaChangeMap*) removed
readnonatomicassign

The parts of the first JSON value not found in the second JSON value.

Note
The pointer references used for the change map keys are relative to the first JSON value.
Since
6.3