KSP-Telemachus / Telemachus

KSP telemetry in the web browser
189 stars 50 forks source link

Use SimpleJSON for JSON serialization #54

Closed ndevenish closed 9 years ago

ndevenish commented 9 years ago

Fulfills part of #52. Instead of directly turning the objects into raw JSON, the formatters are now responsible for converting whatever the object is, into a serialization-ready form. This is then converted using the SimpleJSON library, also included in this commit.

One consequence is the fact that strings are now automatically converted properly with the default formatter, so the previous StringFormatter has become redundant.