promotional bannermobile promotional banner

LibParse

Abandoned
Encodes and Decodes between Lua tables and JSON/CSV.

This library will encode/decode common serialization formats. The first two formats being added are JSON and CSV. Other formats such as XML may be added later. I was surprised no such library already exists (as far as I could tell) as I plan on using JSON and CSV in one of my other addons so thought it'd be useful to put this in its own library.

The JSON functions are a modified version of a publicly available, MIT licensed Lua JSON library (http://www.chipmunkav.com/downloads/Json.lua).

CSV support was introduced with v1.0.


Library APIs:

lib:JSONEncode(o)
Encodes the passed lua table into a JSON string.

lib:JSONDecode(s)
Decodes the passed JSON string into a lua table.

lib:JSONNull()
Returns a reference to the table used to represent NULL.

lib:CSVEncode(keys, data)
Encodes the passed data as CSV with the passed keys.

lib:CSVDecode(str)
Decodes the passed CSV string into keys / data.

The LibParse Team

profile avatar
Owner
  • 48
    Followers
  • 11
    Projects
  • 112.8M
    Downloads

More from Sapu94View all

  • TradeSkillMaster project image

    TradeSkillMaster

    • 62.0M
    • Addons

    Powerful addon to help you make gold from crafting to selling on the auction house to buying vendor items and much more!

    • 62.0M
    • June 17, 2026
    • Addons
    • +3
  • AccurateTime project image

    AccurateTime

    • 10.9K
    • Addons

    Provides accurate, millisecond-level timing.

    • 10.9K
    • December 4, 2014
    • Addons
  • DeSpamMaster project image

    DeSpamMaster

    • 2.5K
    • Addons

    Does basic general / trade chat filtering of gold spam.

    • 2.5K
    • September 11, 2014
    • Addons
  • LibAuctionScan-1.0 project image

    LibAuctionScan-1.0

    • 17.8K
    • Addons

    Manages the scanning of the auction house in a reliable an efficient manner.

    • 17.8K
    • November 28, 2012
    • Addons
    • +1
  • TradeSkillMaster project image

    TradeSkillMaster

    • 62.0M
    • Addons

    Powerful addon to help you make gold from crafting to selling on the auction house to buying vendor items and much more!

    • 62.0M
    • June 17, 2026
    • Addons
    • +3
  • AccurateTime project image

    AccurateTime

    • 10.9K
    • Addons

    Provides accurate, millisecond-level timing.

    • 10.9K
    • December 4, 2014
    • Addons
  • DeSpamMaster project image

    DeSpamMaster

    • 2.5K
    • Addons

    Does basic general / trade chat filtering of gold spam.

    • 2.5K
    • September 11, 2014
    • Addons
  • LibAuctionScan-1.0 project image

    LibAuctionScan-1.0

    • 17.8K
    • Addons

    Manages the scanning of the auction house in a reliable an efficient manner.

    • 17.8K
    • November 28, 2012
    • Addons
    • +1