Skip to content

Commit

Permalink
Make numbers example use JsonArray
Browse files Browse the repository at this point in the history
  • Loading branch information
bowbahdoe committed Mar 1, 2023
1 parent 63a7a8e commit b408517
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -843,14 +843,15 @@ public class Main {

```java
import dev.mccue.json.Json;
import dev.mccue.json.JsonArray;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.List;

public class Main {
public static void main(String[] args) {
List<Json> numbers = List.of(
JsonArray numbers = JsonArray.of(
Json.of(1),
Json.of(2L),
Json.of(3.5),
Expand Down

0 comments on commit b408517

Please sign in to comment.