HtmlColorConverter ??

Jan 11, 2011 at 3:39 PM

Listed in the help files, not in the source or the namespace.

http://james.newtonking.com/projects/json/help/html/T_Newtonsoft_Json_Converters_HtmlColorConverter.htm

Does this exist or is it just a tease?

Coordinator
Jan 11, 2011 at 9:19 PM

It was removed in Json.NET 4.0 and the help files on my website haven't been updated. If you want to use it then you could get the source code for an earlier version of Json.NET and copy it into your project.

Jan 11, 2011 at 10:32 PM

Thank you.  

I had the last release of 3.5 but it wasn't in there either.  I'll check further back.  Any reason why it got the boot?

Coordinator
Jan 11, 2011 at 11:15 PM

A couple of reasons. It was a random converter back from v1 of Json.NET that I just happened to use at the time, there is no reason why people couldn't write it themselves, and it was the only class which used the System.Drawing (?) assembly and I want to keep the assembly dependencies low.

Jan 12, 2011 at 2:37 AM

That makes sense.  

Also, thank you very much for this very useful tool.  It has saved me considerable time and effort.  Much obliged.