OCaml library for JSONfeed parsing and creation
at main 30 lines 851 B view raw
1{ 2 "version": "https://jsonfeed.org/version/1.1", 3 "title": "Complete Feed", 4 "home_page_url": "https://example.com", 5 "feed_url": "https://example.com/feed.json", 6 "description": "A complete test feed", 7 "user_comment": "Test comment", 8 "next_url": "https://example.com/feed2.json", 9 "icon": "https://example.com/icon.png", 10 "favicon": "https://example.com/favicon.ico", 11 "authors": [ 12 { 13 "name": "Test Author", 14 "url": "https://example.com/author", 15 "avatar": "https://example.com/avatar.png" 16 } 17 ], 18 "language": "en-US", 19 "expired": false, 20 "items": [ 21 { 22 "id": "https://example.com/item1", 23 "content_html": "<p>Test content</p>", 24 "title": "Test Item", 25 "url": "https://example.com/item1.html", 26 "date_published": "2024-01-01T12:00:00Z", 27 "tags": ["test", "example"] 28 } 29 ] 30}