tfausak / rattletrap

:car: Parse and generate Rocket League replays.
https://hackage.haskell.org/package/rattletrap
MIT License
147 stars 21 forks source link

Remove unused fields from JSON #210

Closed tfausak closed 8 months ago

tfausak commented 3 years ago

Just off the top of my head:

There's probably more that I'm not thinking of right now.

tfausak commented 3 years ago

I've been putting this off because I'd like to do all the changes at once. I'm trying to clear everything else out of the way first.

One thing I haven't mentioned yet is potentially flattening the Foo and FooValue types. At least for Property, it should be possible to remove a level of nesting there. The property's kind and size are completely determined by the value, I just have to do a little legwork for that. Doing so would simplify the JSON representation and remove some confusion around { "kind": "this", "value": { "that": ... } }.

tfausak commented 8 months ago

Realistically I'm not going to get around to doing this.