File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,6 @@ If you provide a string or a `SplFileInfo` instance:
284284- the file will be open using the ` w ` open mode.
285285- You can provide an additional ` $context ` parameter, a la ` fopen ` , to fine tune where and how the JSON file will be stored.
286286
287-
288287## JSON Format
289288
290289<p class =" message-notice " >available since version <code >9.25.0</code ></p >
@@ -312,6 +311,7 @@ echo (new JsonConverter())
312311// {"city":"Nouakchott","country":"Mauritania"}
313312// {"city":"Gaborone","country":"Botswana"}
314313```
314+
315315You can inspect the current format via the ` JsonConverter::format ` property.
316316This property always contains one of the ` JsonFormat ` enum values:
317317
@@ -322,7 +322,7 @@ This property always contains one of the `JsonFormat` enum values:
322322<code >JsonFormat::LdJson</code >. For example, enabling <code >JSON_PRETTY_PRINT</code >
323323will still work, but it will technically generate a non-compliant JSON Lines output.</p >
324324
325- <p class =" message-warning " >When <code >JsonFormat::LdJson</code > is selected,
325+ <p class =" message-warning " >When <code >JsonFormat::LdJson</code > is selected,
326326the <code >chunksize</code > feature is disabled.</p >
327327
328328## Download
You can’t perform that action at this time.
0 commit comments