Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 535 Bytes

cp.plist.plistParser.md

File metadata and controls

24 lines (17 loc) · 535 Bytes

docs » cp.plist.plistParser


plistParser (https://codea.io/talk/discussion/1269/code-plist-parser) version 1.01

based on an XML parser by Roberto Ierusalimschy at: lua-users.org/wiki/LuaXml

Takes a string-ified .plist file as input, and outputs a table. Nested dictionaries and arrays are parsed into subtables. Table structure will match the structure of the .plist file

Usage:

local plistStr = <string-ified plist file>
local plistTable = plistParse(plistStr)

API Overview

API Documentation