File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1918,13 +1918,13 @@ content:
1918
1918
const: addString
1919
1919
- properties:
1920
1920
event:
1921
- const: addNumber
1921
+ const: addInt64
1922
1922
data:
1923
1923
$comment: |
1924
1924
Since the data field is a string,
1925
- we need a format to signal that
1926
- it should be handled as a number
1927
- format: double
1925
+ we need a format to signal that it
1926
+ should be handled as a 64-bit integer.
1927
+ format: int64
1928
1928
- properties:
1929
1929
event:
1930
1930
const: addJson
@@ -1953,7 +1953,7 @@ data: This data is formatted
1953
1953
data: across two lines
1954
1954
retry: 5
1955
1955
1956
- event: addNumber
1956
+ event: addInt64
1957
1957
data: 1234.5678
1958
1958
unknownField: this is ignored
1959
1959
@@ -1966,7 +1966,7 @@ To more clearly see how this stream is handled, the following is the equivalent
1966
1966
1967
1967
` ` ` JSONL
1968
1968
{"event": "addString", "data": "This data is formatted\n across two lines", "retry": 5}
1969
- {"event": "addNumber ", "data": "1234.5678"}
1969
+ {"event": "addInt64 ", "data": "1234.5678"}
1970
1970
{"event": "addJSON", "data": "{\" foo\" : 42}"}
1971
1971
` ` `
1972
1972
You can’t perform that action at this time.
0 commit comments