StaticcreateCreate a RecordData object with explicit property ordering for consistent JSON output
Entity field data
Related entity data
Primary key data
Sync metadata
Optionalcollections: Record<string, RecordData[]>First-class collections data
Optionalembeds: Record<string, RecordData>First-class embeds data
Optionalextension: First-class extension data
Optionalschema: stringOptional $schema URI
RecordData object with guaranteed property order
StaticwriteWrite regular JSON data (non-RecordData) with standard formatting
Path to the JSON file to write
Any JSON-serializable data
Optionaloptions: JFWriteOptionsOptional JSON write options
StaticwriteWrite RecordData or arrays of RecordData with consistent property ordering
Path to the JSON file to write
RecordData object or array of RecordData objects
Helper class for writing JSON files for RecordData objects. Preserves the caller's key order, recursing into known keys (fields, relatedEntities, primaryKey, sync, etc.).