+10
-15
example/feed_echo.ml
+10
-15
example/feed_echo.ml
······
+95
-105
example/feed_example.ml
+95
-105
example/feed_example.ml
············
+88
-88
example/feed_parser.ml
+88
-88
example/feed_parser.ml
···············
+7
-12
example/feed_validator.ml
+7
-12
example/feed_validator.ml
·········
+35
-26
lib/attachment.ml
+35
-26
lib/attachment.ml
···-let create ~url ~mime_type ?title ?size_in_bytes ?duration_in_seconds ?(unknown = Unknown.empty) () =······-enc = fun (type acc) (f : Jsont.Meta.t -> string -> Jsont.json -> acc -> acc) unknown (acc : acc) ->
+25
-30
lib/attachment.mli
+25
-30
lib/attachment.mli
············
+4
-9
lib/cito.ml
+4
-9
lib/cito.ml
·········
+77
-79
lib/cito.mli
+77
-79
lib/cito.mli
···
+21
-22
lib/hub.ml
+21
-22
lib/hub.ml
···-enc = fun (type acc) (f : Jsont.Meta.t -> string -> Jsont.json -> acc -> acc) unknown (acc : acc) ->
+6
-16
lib/hub.mli
+6
-16
lib/hub.mli
···············
+65
-30
lib/item.ml
+65
-30
lib/item.ml
··················-enc = fun (type acc) (f : Jsont.Meta.t -> string -> Jsont.json -> acc -> acc) unknown (acc : acc) ->···
+12
-21
lib/item.mli
+12
-21
lib/item.mli
············
+50
-43
lib/jsonfeed.ml
+50
-43
lib/jsonfeed.ml
·········-enc = fun (type acc) (f : Jsont.Meta.t -> string -> Jsont.json -> acc -> acc) unknown (acc : acc) ->·········
+29
-22
lib/jsonfeed.mli
+29
-22
lib/jsonfeed.mli
············
+18
-13
lib/reference.ml
+18
-13
lib/reference.ml
···-enc = fun (type acc) (f : Jsont.Meta.t -> string -> Jsont.json -> acc -> acc) unknown (acc : acc) ->
+24
-28
lib/reference.mli
+24
-28
lib/reference.mli
···-@see <https://github.com/egonw/JSONFeed-extensions/blob/main/references.md> References Extension Specification···············
+8
-10
lib/rfc3339.ml
+8
-10
lib/rfc3339.ml
···
+4
-5
lib/rfc3339.mli
+4
-5
lib/rfc3339.mli
······
+3
-2
test/dune
+3
-2
test/dune
+204
-159
test/test_jsonfeed.ml
+204
-159
test/test_jsonfeed.ml
···-Alcotest.(check (option string)) "avatar" (Some "https://example.com/avatar.png") (Author.avatar author);···-Alcotest.(check (option int64)) "size_in_bytes" (Some 15_728_640L) (Attachment.size_in_bytes att);-Alcotest.(check (option int)) "duration_in_seconds" (Some 1800) (Attachment.duration_in_seconds att)···-Alcotest.(check (option string)) "content_html" (Some "<p>Hello</p>") (Item.content_html item);-Alcotest.(check (option string)) "content_html" (Some "<p>Hello</p>") (Item.content_html item);·········-Alcotest.(check (option string)) "content_html" (Some "<p>Hello</p>") (Item.content_html item)···
+24
-29
test/test_location_errors.ml
+24
-29
test/test_location_errors.ml
·········-Printf.printf {|{"status":"error","message":"%s","location":{"file":"%s","line":%d,"column":%d,"byte_start":%d,"byte_end":%d},"context":"%s"}|}+{|{"status":"error","message":"%s","location":{"file":"%s","line":%d,"column":%d,"byte_start":%d,"byte_end":%d},"context":"%s"}|}···
+10
-12
test/test_serialization.ml
+10
-12
test/test_serialization.ml
···