Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    John
    @JVimes
    Any way to handle a hyphenated json key when using JsonMapper.ToObject<T>(json)? C# names can't have hyphen, apparently.
    Gleb
    @NudeNULL
    Hello @devlead , I am trying to achieve something like your site but I can't find how to add content like blog posts or documentation, how do you edit your site?
    I am also using the wyam for generating of this pages
    Mattias Karlsson
    @devlead
    @NudeNULL I'm using a tool call Wyam, source code of the litjson site is here: https://github.com/LitJSON/litjson.github.io
    It gets processed through wyam tool and static html gets published to master branch
    Which is then served by Github pages.
    Gleb
    @NudeNULL
    @devlead Yeah I know how to do all of the described above stepts, I was asking about how add content, for example how do you add blog posts like release notes, I know it is a stupid question but I am a game developer and have no idea on how to do such things, if it's simple can you give me some advice on how to do it?
    I don't think that I have to write directly into html files, there must be something that generates the content easily
    Gary Ewan Park
    @gep13
    @NudeNULL If you drill down into the input folder and then blog, you will find the source markdown files, for example:
    These are what Wyam using as the source for generating the html files that are then served on GitHub
    You would add a markdown file for each page that you wanted to show on the site
    Gleb
    @NudeNULL
    Yeah I got this, do you change the /md files directly via a text editor like notepad++ or there is a better tool?
    Gary Ewan Park
    @gep13
    I tend to use VSCode, but notepad++ works as well
    Gleb
    @NudeNULL
    Ok, thanks a lot!
    sachinkm308
    @sachinkm308
    Hi
    Where can i find LitJson.dll file ?
    Mattias Karlsson
    @devlead
    @sachinkm308 it's available on nuget https://www.nuget.org/packages/litjson
    Corbin Ordel
    @corbinyo
    anyone know why I can't parse null values?
    Mattias Karlsson
    @devlead
    @corbinyo would need more details to answer that. Please raise an issue with more details and repro if possible: https://github.com/LitJSON/litjson/issues/new
    Corbin Ordel
    @corbinyo
    @devlead I posted the issue: LitJSON/litjson#122
    Corbin Ordel
    @corbinyo
    Can anyone help me understand how to check if a key exists in a json file and if is does exist, then add that key to a dictionary?
    Corbin Ordel
    @corbinyo
    anyone here to chat?
    Mattias Karlsson
    @devlead
    Now and then 😎
    JaxSaunders
    @JaxSaunders
    Hey all! Just curious as to whether or not there is an easy way to upgrade from one version of LitJSON to another. I'm upgrading Unity engines and it's suddenly thrown some fun new errors
    Mattias Karlsson
    @devlead
    Hmm in general people obtain it from NuGet
    JaxSaunders
    @JaxSaunders
    Great, thanks! Have you heard any issues of it not working in Unity 2019? I'm getting "does not implement interface member" errors.
    JaxSaunders
    @JaxSaunders
    Hello! So after updating, I'm now getting "JsonException: Max allowed object depth reached while trying to export from type System.Single", which I wasn't getting on Unity 5.6-2018 for some reason. Any advice you could give?
    Mattias Karlsson
    @devlead
    Are you on Unity 2020.3? Could you raise an issue with a minimal data structure that can reproduce the error?
    JaxSaunders
    @JaxSaunders
    Right now I'm using 2019.4.22f1, and I've actually been trying, but I recently took over this project at my company so I'm still very new to these systems.
    Afeijia
    @Afeijia
    I'm using Unity2019.4.0f1 , and it work better in Editor,but while build WenGL, log errors JsonException: Can't assign value '0' (type System.Int32) to type LitJson.JsonData at LitJson.JsonMapper.ReadValue . what should I do?
    Mattias Karlsson
    @devlead
    Well '0' is a string and not a number