tinyspline icon indicating copy to clipboard operation
tinyspline copied to clipboard

Make JSON support optional

Open bog-dan-ro opened this issue 1 year ago • 1 comments

Close #215

bog-dan-ro avatar Sep 13 '22 06:09 bog-dan-ro

Hi @bog-dan-ro,

thank you for your contributions. I would like to avoid adding new compilation options to TinySpline because this makes it necessary to test more combinations of options. Moreover, if JSON serialization is disabled, certain tests must also be disabled. Rather than conditionally include/exclude features, I would prefer to rename the affected functions. In the long run, I would like to replace parson with a custom implementation anyways (I full fledged JSON library is not needed to write splines as JSON; parsing might be more difficult though).

msteinbeck avatar Sep 13 '22 17:09 msteinbeck