New Post: Json string to IJsonWritable object
Hi,Long story short - you can't.The data you are supposed to pass as arguments of Publish() method, are just a part of the bigger JSON message. To have a full control over what is sent to the server...
View ArticleNew Post: Bayeux Protocol
I am needing to create a project that uses C# to connect to a long-polling server for a feed. Â This project is to replace a web page that is currently using javascript's cometd. Â I have downloaded the...
View ArticleNew Post: Bayeux Protocol
Hi Kevin,The "entry" class for Bayeux client implementation is BayeuxConnection.It can be configured to use some specific connectivity options, long polling and others.There is a unit-testing project....
View ArticleNew Post: add CodeTians SOURCE CODE in my WP7 project
I want to know exactly the right way to add CodeTitans in my WP7 project.I know the easiest way is add a reference to the CodeTitans DLL files. So you get 2 or more dll files in your XAP file.I tried...
View ArticleNew Post: add CodeTians SOURCE CODE in my WP7 project
Hi Jerry,Is this documentation page helpful for you? [wiki:JSonSourceInclude]Cheers, Paweł
View ArticleNew Post: add CodeTians SOURCE CODE in my WP7 project
Thanks.It seemed the method that i had alreadyt tried should work well, but it is better to "LINK" all source files for the code updates.Jerry
View ArticleNew Post: will it support windows 8?
will it support windows 8?not supported API in windows 8, which is in CodeTitans.JSon.dll:â—¦API System.Runtime.Serialization.SerializationInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089. â—¦API...
View ArticleNew Post: will it support windows 8?
Hi,Sorry, I don't have Win8 yet. Did you try to rebuild it by yourself from the source-code?BR, Pawel
View ArticleNew Post: will it support windows 8?
Hi,I have refactored the code a bit to support compilation against Windows 8 and Microsoft Store in particular. Could you verify if this suits your needs and works fine? I will try to tune it more +...
View ArticleNew Post: JSonObject IEnumerable?
I have a json string which contains an array of dictionaries for a TreeView. However the following won't compile as IJSonObject can't be converted to System.Collections.IEnumerable. Can IJSonObject be...
View ArticleNew Post: JSonObject IEnumerable?
I notice also you can't for example do a foreach. Is it difficult to add the necessary functions to serve as an array/dictionary? I'm confused why none of the JSON parsers in C# properly parse JSON...
View ArticleNew Post: JSonObject IEnumerable?
IJSonObject doesn't allow enumeration by design. What would you like to enumerate - array items or object items - depending on the data inside? That would lead to lots of unexpected exceptions. The...
View ArticleNew Post: how to write a plit array ?
please do anyone can show me how to write a array like this in PropertyList object ??<?xml version=""1.0"" encoding=""UTF-8""?> <!DOCTYPE plist PUBLIC ""-//Apple//DTD PLIST 1.0//EN""...
View ArticleNew Post: how to write a plit array ?
What about something like that:var data = new PropertyList(); var section0 = data.AddNewDictionary("section0"); var key0 = section0.AddNewDictionary("key0"); var key1 =...
View ArticleNew Post: Sample for CodeTitans Bayeux implementation
Is there any sample code or documentation available for windows phone 8, I searched for a documentation but didn't find. A documentation or sample is highly appreciated. Thanks, Stez
View ArticleNew Post: Data binding with json C# silverlight for windows phone 7
I am trying to solve a problem that I have couple of days now. I am building a windows mobile app (C# silverlight for windows phone NET FRAMEWORK 4) I am sending a Http Request to a web service. I get...
View ArticleNew Post: Data binding with json C# silverlight for windows phone 7
I found my answer. Actually it was much simpler than I thougt.Anyway, if anyone interesting,List<ProfileOptions> ListProfileOptions = new List<ProfileOptions>(); for (int i = 0; i <...
View ArticleNew Post: Need optimizations
I'm using JSON library with NETCF 2.0. It works, but it is some what slow. Looking the source code, I saw that internal Dictionaries and Collections are initialized without any initial capacity, while...
View ArticleNew Post: Need optimizations
Just add two static values in JsonReader class to initialize the capacity of the new Dictionaries and Lists; It takes me 2.2 seconds (running on Psion EP10) to process a 200 kbytes json (minified) string.
View ArticleNew Post: Need optimizations
Also, it is quite annoying that I can't inherent JsonWriter and overwrite the behaviour for datetime serialization. I don't see any good reason to have sealed classes.
View Article