You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 0.2.0 | 2016-09-12 | Mike Gatny, Connamara Systems | Updated according to Working Group feedback. |
69
+
| 0.3.0 | 2016-11-04 | Mike Gatny, Connamara Systems | Recommend EP206 for sub-millisecond date/time precision. |
69
70
70
71
Introduction
71
72
============
@@ -116,10 +117,10 @@ JSON is so simple that the standard’s authors foresaw no need for versioning s
116
117
117
118
- An **array** is an ordered list of values.
118
119
- An **object** is a collection of name/value pairs. Names are *strings*.
119
-
- A **value** can be an *object, array, number, string,**boolean**,* or *null*.
120
+
- A **value** can be an *object*, *array*, *number*, *string*, *boolean*, or *null*.
120
121
-**Numbers** are signed. There is no syntactic distinction between integer and floating point values. In practice, most implementations store all numbers as double precision binary floating point.
121
122
-**Strings** are Unicode, with a few rules for escaping special values.
122
-
-**Booleans** are *true*or*false.*
123
+
-**Booleans** are *true* or *false*.
123
124
- Arbitrary levels of *object* nesting are allowed.
124
125
125
126
Standards References
@@ -137,15 +138,18 @@ This user guide provides standardized solutions to the following issues.
137
138
138
139
### Dates and Times
139
140
140
-
JSON has no explicit provision for encoding dates or times, although JavaScript
141
-
has a Date object. Fortunately, the Date object can extract a date/time in a
142
-
string format compatible with an international standard, namely ISO 8601.
141
+
JSON has no explicit provision for encoding dates or times. However, most
142
+
languages/platforms that support JSON also support conversion of date/time to
143
+
and from strings in ISO 8601 format (e.g. the JavaScript **Date** object).
143
144
144
-
Another potential issue is that the JavaScript Date object only supports
145
-
millisecond precision while FIX timestamps sometimes require micro or
146
-
nanosecond precision. Given that any timestamps captured on the client side are
147
-
limited by PC clock precision, however, millisecond precision should be
148
-
sufficient for web applications.
145
+
Another potential issue is that particular languages/platforms only support
146
+
millisecond precision (e.g. the JavaScript **Date** object), while FIX
147
+
timestamps may require microsecond or nanosecond precision. Given that any
148
+
timestamps captured on the client side are limited by PC clock precision,
149
+
millisecond precision should be sufficient for web applications. When finer
150
+
than millisecond precision is required, applications should adhere to the
151
+
recommendations of [FIX.5.0 SP2 EP206: Clock Synchronization Data Types
0 commit comments