Tagged Questions
1
vote
2answers
44 views
Http post in android with nested associative array
I am trying to send an http post request to a PHP service. Here is an example of how the input may look with some test data
I know that the Java alternative to the PHP associative arrays are ...
0
votes
1answer
97 views
Parsing Nested Array String
I'm trying to parse an arbitrarily nested array in a String, in this format: [3,[4,3],5], to a List(of lists, of lists...)
My example, once parsed, would be a list that looks something like this:
...
0
votes
3answers
120 views
How to parse nested arrays with Jackson?
I used to successfully parse the following .json file:
[
{
"latitude": 49.419459253939316,
"longitude": 8.676411621072491
},
{
"latitude": 49.41946061080915,
...
1
vote
1answer
382 views
How can I assert on a Java Hashmap of Arrays?
I'm building a new hashmap ( < String , String[] > ) by combining three other hashmaps ( < String , String > ) and adding the filename. How do I assert the new hashmap is correct? The nested ...
-1
votes
4answers
85 views
Creating Java arrays with the name of a variable [closed]
I am making a plugin for a Minecraft server and I need a way to store players in an array for the arena they are in. For example:
The plugin loads all the created arenas: Arena1 Arena2 Arena3
And I ...
0
votes
3answers
748 views
How can i sort Nested JSON Array?
How can i sort Nested JSON Array? Like for a JSON below...
{
"id":"rtmc05.lax.someabc.net",
"name":"rtmc05.lax.someabc.net",
"tenants":[{
"id":"rtmc",
"name":"rtmc"
...
1
vote
4answers
70 views
Is it possible to have an array containing both arrays and primitives in Java?
I'm doing a project in Java in which I'm looking at the frequency characters occur after each other character in a text. When I'm collecting my results, I'm storing them in a 2d array of ints. ...