Skip to content
/ json Public

Supports basic json parse and stringify in greyscript

Notifications You must be signed in to change notification settings

ayecue/json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON

Supports basic json parse and stringify in greyscript. Example project for greybel.

Usage

myJsonStr = JSON.stringify({ "test": 123 })

print(myJsonStr) // prints json string
print(JSON.parse(myJsonStr)) // prints object

How to install

You require either greybel-js or greybel-vs.

Via greybel-js

  • Execute following command greybel ./src/json.src . -i
  • Copy paste the content of ./build/installer0.src into GreyHack CodeEditor.exe
  • Execute build in CodeEditor.exe, this should install all files
  • Open the json.src file via the CodeEditor.exe and build it as a library for you to use

Via greybel-vs

  • Open ./src/json.src in VS and press execute a build via the context menu
  • Copy paste the content of ./build/installer0.src into GreyHack CodeEditor.exe
  • Execute build in CodeEditor.exe, this should install all files
  • Open the json.src file via the CodeEditor.exe and build it as a library for you to use

How to test

greybel-execute ./test/index.src

About

Supports basic json parse and stringify in greyscript

Resources

Stars

Watchers

Forks

Packages

No packages published