From a02a27e361fe55588589f8e16176d47829de4ed1 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 1 Apr 2015 23:44:49 +0100 Subject: [PATCH] Update type casting examples --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9ace1a9..e4b0ec6 100644 --- a/README.md +++ b/README.md @@ -238,22 +238,22 @@ character used in any given input CSV-like formatted file/data. Input JSON: ```json - [ [10, true, 0.3, "aaa"], - [11, false, 2.13, "bbb"] ] + [ [10, true, 0.3, null, "aaa"], + [11, false, 2.13, "", "bbb"] ] ``` Output CSV: ```csv - 10,true,0.3,aaa¬ - 11,false,2.13,bbb¬ + 10,true,0.3,,aaa¬ + 11,false,2.13,,bbb¬ ``` Output CSV parsed back to JSON: ```json - [ ["10", "true", "0.3", "aaa"], - ["11", "false", "2.13", "bbb"] ] + [ ["10", "true", "0.3", "", "aaa"], + ["11", "false", "2.13", "", "bbb"] ] ``` At this point it is up to the developer themselves to type cast the above