Better docs for json feed format
See original GitHub issueOriginally reported on Google Code with ID 773
on page:
http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/
you need an example of the expected json.
I started with:
[{"start": "new Date( 2010, 12, 25)", "title": "1"}]
then:
"event" [{"start": "new Date( 2010, 12, 25)", "title": "1"}]
then:
"event" [ { "title": "1", "start": "2010-12-25T00:00:00" } ]
and several other variations, finally gave up and searched for examples on stackoverflow.
Reported by idbill.planx.com
on 2010-12-29 01:02:51
Imported with 3 stars.
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Docs JSON Data Output Target - Stencil.js
Docs Json Data. While auto-generated readme files formatted with markdown is convenient, there may be scenarios where it'd be better to get all...
Read more >JSON:API — A specification for building APIs in JSON
A specification for building APIs in JSON · MIME Types · Format documentation · Extensions · Milestones.
Read more >Building better docs | Mux blog
If you're an API company, docs are a product ... Here's an example - the left side is the raw OpenAPI v3 spec...
Read more >JSON Schema | The home of JSON Schema
JSON Schema enables the confident and reliable use of the JSON data format. Benefits #. Describes your existing data format(s). Provides clear human-...
Read more >Intro to How Structured Data Markup Works - Google Developers
Explore this guide to discover how structured data works, review formats, ... For example, here is a JSON-LD structured data snippet that might...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
A few examples of JSON feeds, or even some PHP code showing how to generate them, would be extremely helpful. It took my quite a few hours to get some working code generated to perform DB interaction and pull info into a JSON feed.
Referring to MrDCrooks and davidweilei’s comment, unix timestamp with seconds is not supported, but unix with milliseconds is. Here is the modified JSBin using the 2 different unix timestamps: http://jsbin.com/siquxo/edit?html,js,output
I thought it wasn’t working at first as well, took me a while before I figured it out. It’s stated in the doc here (http://fullcalendar.io/docs/utilities/Moment/) but might be a good idea to also mention this in the Events Object section?