From a0d96a188a9f875b2d59625aa97d4f80bba290f2 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Tue, 19 Apr 2022 14:45:20 -0400 Subject: [PATCH] doc update --- docs/parsers/yaml.md | 4 +++- jc/parsers/yaml.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/parsers/yaml.md b/docs/parsers/yaml.md index bd4c6c70..bf98d5da 100644 --- a/docs/parsers/yaml.md +++ b/docs/parsers/yaml.md @@ -5,6 +5,8 @@ jc - JSON Convert `YAML` file parser +Note: datetime objects will be converted to strings. + Usage (cli): $ cat foo.yaml | jc --yaml @@ -107,4 +109,4 @@ Returns: ### Parser Information Compatibility: linux, darwin, cygwin, win32, aix, freebsd -Version 1.6 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.7 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/jc/parsers/yaml.py b/jc/parsers/yaml.py index c52d2dc5..21b84d14 100644 --- a/jc/parsers/yaml.py +++ b/jc/parsers/yaml.py @@ -1,5 +1,7 @@ """jc - JSON Convert `YAML` file parser +Note: datetime objects will be converted to strings. + Usage (cli): $ cat foo.yaml | jc --yaml