Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+9 votes

We were very close to completing our online mode class when the jsonMessage just decided to break. It was working fine before but it just decided to stop working suddenly. Like, do we need to make our own jsonMessage class or import something or what?

asked in CSC 305 Fall 2024 by (868 points)

2 Answers

+3 votes

It depends on how you’re using jsonMessage. If it’s a custom class, make sure it’s correctly defined and imported. If you’re relying on a library, ensure it’s properly included in your project dependencies. Check for changes in your JSON structure or methods maybe.
?

answered by (1.2k points)
+1 vote

For the messages using the network it might be useful to also refer to the way Dr. Stonedahl did it and keep it as close as possible to the sample code, maybe that could help?

answered by (4.1k points)
...