Simple script that allows manipulation of JSON.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kedyn Macedonio 9d098f2655 added missing identifiers and fixed readme doc 2 months ago
.gitea first commit 2 months ago
CHANGELOG.md first commit 2 months ago
LICENSE first commit 2 months ago
README.md added missing identifiers and fixed readme doc 2 months ago
SimpleJSON.mRC added missing identifiers and fixed readme doc 2 months ago

README.md

SimpleJSON

Allows manipulation of JSON.

Features

  • Read from file.
  • Read from text.
  • Write to file.
  • Add items to an object.
  • Delete items from an object.

Dependencies

Installation

Load SimpleJSON.mRC located in the root folder onto mIRC.

Usage

Identifier $jsonCreate

$jsonCreate(name[,file|text])

Parses the file or text and puts it in a JavaScript object.

Returns 1 if the creation was a success, 0 otherwise.

Identifier $jsonSave

$jsonSave(name,file)

Saves the JSON object to the specified file.

Returns 1 if success, 0 otherwise.

Identifier $jsonAdd

$jsonAdd(name,property[,property,...],value)

Adds or changes a property value.

Identifier $jsonDelete

$jsonDelete(name,property[,property,...])

Deletes an item.

Identifier $jsonStringify

$jsonStringify(name)

Returns the JSON object as a string.

Identifier $jsonTypeof

$jsonTypeof(name[,property,...])

Returns the type of the property or object.

Identifer $jsonKey

$jsonKey(name,N)

Returns the name of the N key.

Identifier $jsonDestroy

$jsonDestroy(name)

Returns 1 if success, 0 otherwise.

Contributing & Development Process

If you would like to contribute in any way please read our CONTRIBUTING.md file.

Authors and Acknowledgements

Author: Kedyn Macedonio (SykO)

License

This project is made available under the MIT License.

Project status

Milestones

Completed version 1.0.0

Changelog

If you would like to see our changelog please read our CHANGELOG.md file.