Marshal structure of struct to json

How can i marshal structure of struct to json?

2 Likes

As long as every of the nested structs is marshalable on its own, you can just marshal the nested struct as well.

2 Likes

i need result like standart marshalling of filled structure, but field types instead values

1 Like

Can yo give an example? What does your struct look like, what is the data you put into it and how do you want the result look like?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.