Emojicode Documentation 1.0 beta 2

Value Type 🌸

🌸 represents a JSON parser. Its use is straightforward: It can either be used with the shortcut type method βšͺ️ that takes a string and returns the parsed value, or you can instantiate it yourself and then call the method βšͺ️ yourself.

On error, πŸš§πŸ”ΈπŸŒΈ is raised.

Initializers

πŸ†•

πŸ–  πŸ†•  str πŸ”‘ 

Creates a 🌸 from the provided πŸ”‘.

πŸ†•β–ΆοΈπŸ“‡

πŸ–  πŸ†•β–ΆοΈπŸ“‡  data πŸ“‡ 

Creates a 🌸 from the provided πŸ“‡. The JSON text must be UTF-8 encoded.

Methods

βšͺ❗️

πŸ– ❗️ βšͺ ➑️ βšͺοΈΒ πŸš§πŸš§πŸ”ΈπŸŒΈ

Parses the instance’s input and returns the represented value.

Type Methods

βšͺ

πŸ– πŸ‡β—οΈ βšͺ  string πŸ”‘ ➑️ βšͺοΈΒ πŸš§πŸš§πŸ”ΈπŸŒΈ

Parses string and returns the represented value.