Put the JSON in the documentation into a plaintext file or as a comment or something in the Test Client so that participants can easily copy / paste it into their code easily. Currently I copy it over from the document and the format is all off.
Even better, make some classes in the test client that take the top level objects (ie a string for name, and array of ship placements) and returns the properly setup JSON object.
Put the JSON in the documentation into a plaintext file or as a comment or something in the Test Client so that participants can easily copy / paste it into their code easily. Currently I copy it over from the document and the format is all off.
Even better, make some classes in the test client that take the top level objects (ie a string for name, and array of ship placements) and returns the properly setup JSON object.