Hi Atif,
It's amazing how jayrock works! It's excellent! I couldn't find a better solution!
I'm facing some issues when I try to import to a typed list using reflection ParameterInfo. Let me explain:
I have a function : static void test(List<ETest> list)
I want to call this function using reflection. For this, I call JsonConvert.Import(type, jsonString);
The problem is that 'type' is a ParameterInfo.ParameterType (for List<ETest>) which seems that Jayrock is not able to import.
Follow the exception I receive:
Jayrock.Json.JsonException: Cannot import System.Collections.Generic.List`1[MyProject.ETest] from a JSON Array value.
em Jayrock.Json.Conversion.Converters.ImporterBase.ThrowNotSupported(JsonTokenClass clazz)
em Jayrock.Json.Conversion.Converters.ImporterBase.Import(ImportContext context, JsonReader reader)
em Jayrock.Json.Conversion.ImportContext.Import(Type type, JsonReader reader)
em MyProject.Helper.UncompressAndDeserialize(String completeFunctionName, ParameterInfo parameter, String txt, Boolean& ok)
How I can solve this?
Thank you again,
Bruno.