Here you can find the source of getJsonFromBigIntArray(JsonGenerator jg, BigInteger[] array, String pf)
public static void getJsonFromBigIntArray(JsonGenerator jg, BigInteger[] array, String pf) throws JsonGenerationException, IOException
//package com.java2s; import java.io.IOException; import java.math.BigInteger; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.core.JsonGenerator; public class Main { public static void getJsonFromBigIntArray(JsonGenerator jg, BigInteger[] array, String pf) throws JsonGenerationException, IOException { jg.writeStartArray();//from w ww.j a v a 2 s . co m for (BigInteger obj : array) { jg.writeNumber(obj); } jg.writeEndArray(); } }