[mono-android] Application Size upon deployment
SRI
srid68 at gmail.com
Thu Dec 15 09:15:25 EST 2011
Hi,
I have removed the dependency on NewtonSoft by using Jayrock
Json parser. This was ok for me because I am using Jayrock RPC. You
can try to extract the Jayrock Json Parser only and include the
sources in your dll to reduce the NewtonSoft dependency. I had done
some modifications in the Jayrock Json Parser to make it compatible
with NewtonSoft. If you require my modified sources or any help in
using Jayrock, please feel free to ask.
The changes betweeen NewtonSoft and Jayrock are
a) Jayrock when you serialize a Object, camel cases the Property Names
b) Method Changes (which I have abstracted using the enclosed
JsonSerializerAdapter)
Please also note that I am a rusty coder (Professionally I am
Senior Project Manager/Solution Architect for the past 10 years) hence
these may have bugs. Only thing I can tell you is that I am using
Stringify, and Parse<T> methods and they are working for my objects
used in a SignalR prototype application.
Hope this helps you.
Best Regards,
Sridharan Srinivasan
Alias Sri
www.arshu.com
On Thu, Dec 15, 2011 at 5:10 AM, klimaye <klimaye at gmail.com> wrote:
> Jon,
>
> Thanks for the response.
>
> I need to interact with the sqlite db, so I don't see how I can do without
> the System.Data and System.Data.Sqlite.
>
> The only part I can see where I could possibly make a change is the json
> parsing.
>
> The Newtonsoft dll requires System.xml as a dependency it seems.
>
> Would there be an alternative approach that you know to parsing json on m4a
> stack other than taking a dependency on json.net?
>
> If you have any other recommendations/ideas/advice, please let me know.
>
> Thanks
>
>
>
> --
> View this message in context: http://mono-for-android.1047100.n5.nabble.com/Application-Size-upon-deployment-tp5074555p5075997.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
--
Sridharan Srinivasan
Alias Sri
Ph:(65)98255785/(65)63922439
www.arshu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JsonSerializerAdapter.cs
Type: application/octet-stream
Size: 2546 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodroid/attachments/20111215/8f848e77/attachment-0001.obj
More information about the Monodroid
mailing list