Parameters for GenerateHierarchicalDeltaPatch. More...
#include <DomComparison.h>
Public Attributes | |
size_t | m_replaceThreshold = 3 |
bool | m_generateDenormalizedPaths = false |
bool | m_allowRootReplacement = true |
this specifies whether to allow generation of a delta replacement patch that replaces the entire tree, from the root on down | |
Static Public Attributes | |
static constexpr size_t | NoReplace = AZStd::numeric_limits<size_t>::max() |
static constexpr size_t | AlwaysFullReplace = 0 |
Parameters for GenerateHierarchicalDeltaPatch.
bool AZ::Dom::DeltaPatchGenerationParameters::m_generateDenormalizedPaths = false |
If set, the patches generated will avoid using "EndOfPath" entries in favor of explicitly specifying indices. This will generate non-conformant JSON patches, but can be useful if there's downstream book-keeping for the patch paths themselves. This is used by e.g. DocumentPropertyEditor so that systems can handle patches without introspecting the previous DOM to generate indices.
size_t AZ::Dom::DeltaPatchGenerationParameters::m_replaceThreshold = 3 |
The threshold of changed values in a node or array which, if exceeded, will cause the generation to create an entire "replace" oepration instead. If set to NoReplace, no replacement will occur.