Skip to content

Commit 032bee8

Browse files
authored
Merge pull request #259 from KxSystems/format-of-jjd
clarified j.jd format
2 parents 0e7879f + cf4a20a commit 032bee8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/ref/dotj.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ Where
4040
- `x` is a K object
4141
- `d` is a dictionary
4242

43-
returns the result of `.j.j` unless ``d`null0w``, in which case `0w` and `-0w` are mapped to `"null"`.
43+
returns the result of `.j.j` unless d[`null0w] is 1b, in which case `0w` and `-0w` are mapped to `"null"`.
4444
(Since V3.6 2018.12.06.)
4545

4646
```q
4747
q).j.j -0w 0 1 2 3 0w
4848
"[-inf,0,1,2,3,inf]"
4949
q).j.jd(-0w 0 1 2 3 0w;()!())
5050
"[-inf,0,1,2,3,inf]"
51-
q).j.jd(-0w 0 1 2 3 0w;(!). 1#'`null0w,1b)
51+
q).j.jd(-0w 0 1 2 3 0w;([null0w:1b]))
5252
"[null,0,1,2,3,null]"
5353
```
5454

@@ -75,4 +75,4 @@ a b
7575
2 "Earthlings"
7676
```
7777

78-
!!! warning "Note serialization and deserialization to and from JSON may not preserve q datatype"
78+
!!! warning "Note serialization and deserialization to and from JSON may not preserve q datatype"

0 commit comments

Comments
 (0)