• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Jasonette/Jasonpedia: Test JSON snippets for Jasonette

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Jasonette/Jasonpedia

开源软件地址:

https://github.com/Jasonette/Jasonpedia

开源编程语言:

HTML 100.0%

开源软件介绍:

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap