title: How to change a JSON value in Kotlin
body: <p>I have a <code>jsObject</code> that looks like this <code>{"Name": "Milan", "Surname": "Smolik"}</code> hardcoded somewhere else in app and parsed with <a href="https://github.com/matteosb/kotlin-json-builder" rel="nofollow noreferrer">this</a> library. When I <code>println(fullName)</code>, I get <code>{"name": "Milan", "surname": "Smolik"}</code>.</p>
  
  <p>Now, I would like to modify <code>Name</code> to <code>Martin</code>. How do I do that? </p>
  
  <p>In JavaScript I would either <code>fullName.name = 'Martin'</code> or <code>newName = {...fullName, name: 'Martin'}</code>. 
  Can I do that in Kotlin? Is there some library that would support modifying JSONs / JSON spread operator?</p>