Functionsยง
- to_
json_ array - Serialize the whole
Atlasas a JSON object{ pages, meta }(array-of-pages style). Suitable for generic tooling and simple consumption. - to_
json_ hash - Flatten frames keyed by name, include page id/size hints.
Shape:
{ frames: { name: { frame, rotated, trimmed, spriteSourceSize, sourceSize, pivot, page, pageSize } }, meta }. Compatible with many engine pipelines expecting TexturePacker-like JSON hash.