A
A
Andrej Sharapov2020-02-21 12:04:26
Vue.js
Andrej Sharapov, 2020-02-21 12:04:26

How to iterate over JSON content written with |?

Hi all!

json contains data of the following format telo: { key: id|first name|last name middle name|etc. }
Tell me, how to iterate over such data in vue? Where to look, where to read? If possible, please post an example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-02-21
@Madeas

JSON has nothing to do with it, it's just strings. Make a calculated property that will parse this crap into a normal array, and then iterate over:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question