Hi,
I am writing some reflection software for a wider project with a rust backend. Part of that is making an Object to JSON library. I know there are some crates that already do that, but I want to make as much of this by my own hand as I can.
My question is: is there some way to pass any struct to be made into JSON?
I've tried something like this:
pub struct JsonFile<Struct>{
// other types not important to this context
object: Struct,
}
Any help would be greatly appreciated, Thanks!