S
S
sergeyfilippov42019-08-19 15:25:40
Python
sergeyfilippov4, 2019-08-19 15:25:40

How to complete JSON file?

For example, I have a dictionary . How can I complete it? That is, update so that the result is
{"foo":"bar"}

{"foo":"bar"},
{"bar":"baz"}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
3
3aiats, 2019-08-19
@3aiats

list.append({"bar":"baz"})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question