Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] JSON format Pull Request

Julien, I see you have provided some comments in  our pull request JSON format implementation. I have some questions:

1.    You mentioned to use  new InvalidStateException("Not implemented"). Do you mean to implement this custom exception as Leshan doesn’t has it and it is not part of the JDK?

2.    You had another comment about String formatting. Do you mean to use String.format(), We have corrected  toString in LwM2mJsonObject.java, However in JsonArrayElement.java toString has conditional statements , and not sure how this can be done using String.format, I think StringBuilder should be fine here?

 

Please advise?

 

Thank you,

Nizar…!


This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.

Back to the top