{"action":"created","issue":{"url":"https://api.github.com/repos/rpgmaker/NetJSON/issues/190","repository_url":"https://api.github.com/repos/rpgmaker/NetJSON","labels_url":"https://api.github.com/repos/rpgmaker/NetJSON/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/rpgmaker/NetJSON/issues/190/comments","events_url":"https://api.github.com/repos/rpgmaker/NetJSON/issues/190/events","html_url":"https://github.com/rpgmaker/NetJSON/issues/190","id":294444962,"number":190,"title":"Requested value 'true' was not found","user":{"login":"cubed-it","id":11182260,"avatar_url":"https://avatars0.githubusercontent.com/u/11182260?v=4","gravatar_id":"","url":"https://api.github.com/users/cubed-it","html_url":"https://github.com/cubed-it","followers_url":"https://api.github.com/users/cubed-it/followers","following_url":"https://api.github.com/users/cubed-it/following{/other_user}","gists_url":"https://api.github.com/users/cubed-it/gists{/gist_id}","starred_url":"https://api.github.com/users/cubed-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cubed-it/subscriptions","organizations_url":"https://api.github.com/users/cubed-it/orgs","repos_url":"https://api.github.com/users/cubed-it/repos","events_url":"https://api.github.com/users/cubed-it/events{/privacy}","received_events_url":"https://api.github.com/users/cubed-it/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-05T15:59:57Z","updated_at":"2018-02-06T11:00:29Z","closed_at":"2018-02-06T10:49:19Z","author_association":"NONE","body":"Hey there!\r\n\r\nI'm having some trouble getting the library integrated in my project.\r\nUnfortunately, I could not reproduce it in a simple test project...\r\nWhen I build my big application, I get the following errors:\r\n\r\nExample 1:\r\n```\r\n   System.ArgumentException\r\n  HResult=0x80070057\r\n  Message=Requested value 'true' was not found.\r\n  Source=System.Private.CoreLib\r\n  StackTrace:\r\n   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)\r\n   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)\r\n   at System.Enum.Parse(Type enumType, String value)\r\n   at NetJSON.Internals.SerializerUtilities.FlagStringToEnum[T](String value)\r\n   at StammdatenClass.ReadEnumGender(String )\r\n   ...\r\n```\r\nExample 2:\r\n```\r\n   {System.ArgumentException: Requested value 'true' was not found.\r\n   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)\r\n   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)\r\n   at NetJSON.Internals.SerializerUtilities.FlagStringToEnum[T](String value)\r\n   at StammdatenClass.ReadEnumWarnwertTyp(String )\r\n   ...\r\n```\r\n\r\n\"Gender\" is an enumeration in a class that isn't even part of my Json sting.\r\n\r\nAny idea what that could cause or what I can do to track the issue down to it's source?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/rpgmaker/NetJSON/issues/comments/363388002","html_url":"https://github.com/rpgmaker/NetJSON/issues/190#issuecomment-363388002","issue_url":"https://api.github.com/repos/rpgmaker/NetJSON/issues/190","id":363388002,"user":{"login":"rpgmaker","id":557807,"avatar_url":"https://avatars2.githubusercontent.com/u/557807?v=4","gravatar_id":"","url":"https://api.github.com/users/rpgmaker","html_url":"https://github.com/rpgmaker","followers_url":"https://api.github.com/users/rpgmaker/followers","following_url":"https://api.github.com/users/rpgmaker/following{/other_user}","gists_url":"https://api.github.com/users/rpgmaker/gists{/gist_id}","starred_url":"https://api.github.com/users/rpgmaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpgmaker/subscriptions","organizations_url":"https://api.github.com/users/rpgmaker/orgs","repos_url":"https://api.github.com/users/rpgmaker/repos","events_url":"https://api.github.com/users/rpgmaker/events{/privacy}","received_events_url":"https://api.github.com/users/rpgmaker/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T11:00:29Z","updated_at":"2018-02-06T11:00:29Z","author_association":"OWNER","body":"Yes, you can use the following method to create the precompiled assembly for it.\r\n\r\nNetJSON.GenerateTypesInto(string asmName, params Type[] types)\r\n\t- This method allows you to specify a list of types you would like to serialize and deserialize  and output an assembly which will contain the code that can be reference for precompile serialization code\r\n\t- Using this method allow you to avoid the initial cost of generating the classes needed to serialize your objects\r\n"}}
{"actor":{"display_login":"rpgmaker"}}