Is there any ways to get an Array from the json file directly? #25
Closed
DongwonTTuna
started this conversation in
General
Replies: 1 comment 14 replies
-
|
Hi @DongwonTTuna , Currently, only arrays of keys are supported out of the box. But I think it would be possible to implement from (jsx)
to (json) rendered as
inlined as
If you like it, I'll try to do some testing and add |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! 😊
I appreciate you for creating this great library for qwik. It has been very helpful to me.
I am aware that there is a method to parse strings into arrays, but I would like to inquire if there is a way to retrieve an array from a JSON file.
the JSON file is.
In the next-i18next library, I have been able to achieve this using
Array.from(t("slides", { returnObjects: true }))Also, I would like to know if there are any possible ways to save an array as a default value directly to JSON?
Currently, I am saving it in the following way:
Thank you for reading!
Beta Was this translation helpful? Give feedback.
All reactions