We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d839b82 commit 9f6c20cCopy full SHA for 9f6c20c
capabilities_client_gojay.go
@@ -1821,7 +1821,7 @@ var (
1821
// MarshalJSONObject implements gojay.MarshalerJSONObject.
1822
func (v *SemanticTokensWorkspaceClientCapabilitiesRequests) MarshalJSONObject(enc *gojay.Encoder) {
1823
enc.BoolKeyOmitEmpty(keyRange, v.Range)
1824
- enc.BoolKeyOmitEmpty(keyFull, v.Full)
+ enc.AddInterfaceKey(keyFull, v.Full)
1825
}
1826
1827
// IsNil implements gojay.MarshalerJSONObject.
@@ -1833,7 +1833,7 @@ func (v *SemanticTokensWorkspaceClientCapabilitiesRequests) UnmarshalJSONObject(
1833
case keyRange:
1834
return dec.Bool(&v.Range)
1835
case keyFull:
1836
- return dec.Bool(&v.Full)
+ return dec.Interface(&v.Full)
1837
1838
return nil
1839
0 commit comments