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.
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.