mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-25 12:23:58 -04:00
f39d8bb080
- When activated, the JSON of the project is saved with properties always in alphabetical order. Fields in events are also never omitted.
- The preference is controlled via `gdevelop-settings.yaml` (already read
by the IDE on project open):
```yaml
# gdevelop-settings.yaml
preferences:
canonicalEventSerialization: true
```
Only show in developer changelog
Co-authored-by: Viktor Vovk <vvovk@playtika.com>
12 lines
448 B
JavaScript
12 lines
448 B
JavaScript
// Automatically generated by GDevelop.js/scripts/generate-types.js
|
|
declare class gdSerializer {
|
|
static fromJSObject(object: Object): gdSerializerElement;
|
|
static toJSObject(element: gdSerializerElement): any;
|
|
|
|
static toJSON(element: gdSerializerElement): string;
|
|
static fromJSON(json: string): gdSerializerElement;
|
|
static setCanonicalMode(canonical: boolean): void;
|
|
static isCanonicalMode(): boolean;
|
|
delete(): void;
|
|
ptr: number;
|
|
}; |