Test JSON snippets for Jasonette
Permalink
Failed to load latest commit information.
action Load data from GitHub Jan 5, 2017
assets mp3 Oct 25, 2016
core Malformed JSON Nov 25, 2016
template Updated to reflect HN webpage change Jan 2, 2017
view Opacity tests Dec 30, 2016
LICENSE Initial commit Oct 18, 2016
README.md Copy edit Dec 14, 2016
demo.json Updated repo names Oct 26, 2016
hello.json Updated tutorial video link Oct 25, 2016

README.md

What is this?

This repository is 99.9% JSON.

Each JSON file is an iOS app. And an Android app. Simultaneously.

And when you play these JSON snippets on Jasonette, they instantly turn into native apps.

Here's how it works: Jasonette interprets the JSON markup into native iOS and Android components. Just like how you use HTML to write a web page, you use JSON to write a native app, which you can publish to the app store.

Check out the website to learn more.

Here are some highlights of what these JSON files can turn into (hint: anything you can imagine):

_ _

view/layer/dynamic.json

assets/screen1.png

view/layer/weather/index.json

assets/screen2.png

view/section/index.json

assets/screen3.png

view/component/map/index.json

assets/screen4.png

view/component/image.json

assets/screen5.png

view/layout/nested.json

assets/screen6.png

action/timer/mario.json

assets/screen7.gif

How to use this?

First of all, I recommend you check out the website to quickly learn how this works.

1. Recommended way

Jasonette ships with this repository's URL embedded by default, so if you just head over to the website and follow the "Get Started" guide, you'll be able to try everything on this repository. (Note: The default root URL Jasonette ships with is hello.json).

2. Manual way

You can also manually add JSON to Jasonette. If you want to try adding each individual JSON file in this repository, you just need to add their published URLs to Jasonette and run. You can learn how to do that at Getting started guide.

Just remember, this repo uses Github pages to publish the JSON, so all the files will be avaialbe under the https://jasonette.github.io/Jasonpedia base url.

For example the hello.json file in the root directory is directly available at https://jasonette.github.io/Jasonpedia/hello.json, the demo.json is available at https://jasonette.github.io/Jasonpedia/demo.json, and so forth.

The purpose of this repo

This repo serves multiple purposes:

1. Demo

This is the default JSON that ships with all Jasonette code, which means everyone who downloads Jasonette will get to play with what's on this repo as a starter project.

2. Test

Whenever you write an extension that may be useful to be merged into the main project, write a test JSON to make sure:

  • it works as intended
  • it plays nice with the rest of Jasonette
  • other people understand how to use it
  • the syntax is consistent with the convention

3. Contribution

Contribution is encouraged for this repo. Feel free to share your JSON apps by sending pull requests.