zauberzeug / SimpleStorage

Simple platform independent key/value storage
Other
35 stars 12 forks source link

JSON-less version #7

Open asyschikov opened 8 years ago

asyschikov commented 8 years ago

I really like your lib but I am not very enthusiastic about Newtonsoft.JSON dependency because I don't need it and I don't want to add extra 500k to my app. Any chance to make it optional?

stephanpalmer commented 8 years ago

Hi, we can understand the reluctance to have an unneeded Newtonsoft.Json dependency. We hesitated to package it like this, but in the end it was just the simplest way for us to package the needed features.

Unfortunately, we currently cannot devote any time to update SimpleStorage. However, it should be fairly easy to fork SimpleStorage and remove the Newtonsoft.Json dependency. For this, just remove the class JsonPersistingList, and remove the dependency from SimpleStorage.nuspec.

Alternatively, as long as you do not use JsonPersistingList, you could change the linking behaviour of the app to "Link All". The Newtonsoft.Json dll should then be stripped out of the app bundle. However, this could very well introduce problems with other libs or your own dlls.

asyschikov commented 8 years ago

Thanks, I will try.