Diffusion Apple API  6.10.2
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Properties | 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:

Properties

PTDiffusionJSONDeltaChangeMapremoved
 
PTDiffusionJSONDeltaChangeMapinserted
 
BOOL changes
 

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