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.
2 parents 04e3487 + 718b0b2 commit 8e66489Copy full SHA for 8e66489
config/feeds.php
@@ -125,5 +125,14 @@
125
*/
126
'options' => JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE,
127
],
128
+
129
+ 'jsonl' => [
130
+ /**
131
+ * JSON encoding flags used when exporting feeds to JSON.
132
+ *
133
+ * The JSON_PRETTY_PRINT option is not available for JSON Lines files and will be ignored.
134
+ */
135
+ 'options' => JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE,
136
+ ],
137
138
];
src/Converters/JsonLinesConverter.php
@@ -15,7 +15,7 @@
15
class JsonLinesConverter extends Converter
16
{
17
public function __construct(
18
- #[Config('feeds.converters.json.options')]
+ #[Config('feeds.converters.jsonl.options')]
19
protected int $options,
20
#[Config('feeds.pretty')]
21
bool $pretty,
0 commit comments