MCPcopy Create free account
hub / github.com/esengine/esengine / parse

Method parse

packages/tilemap/src/loaders/TiledConverter.ts:313–315  ·  view source on GitHub ↗

* Parse Tiled JSON string * 解析 Tiled JSON 字符串

(jsonString: string)

Source from the content-addressed store, hash-verified

311 * 解析 Tiled JSON 字符串
312 */
313 static parse(jsonString: string): ITiledMap {
314 return JSON.parse(jsonString) as ITiledMap;
315 }
316
317 /**
318 * Convert and stringify to internal format

Callers

nothing calls this directly

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected