MCPcopy Index your code
hub / github.com/ccxt/ccxt / json

Method json

java/lib/src/main/java/io/github/ccxt/Helpers.java:1190–1196  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

1188 }
1189
1190 public static String json(Object obj) {
1191 try {
1192 return mapper.writeValueAsString(obj);
1193 } catch (JsonProcessingException e) {
1194 throw new RuntimeException("Failed to serialize JSON", e);
1195 }
1196 }
1197
1198 public static Object mathAbs(Object val) {
1199 if (val == null) {

Callers 15

signMethod · 0.95
signMethod · 0.95
authenticateMethod · 0.95
testFetchOrderBooksMethod · 0.45
testFetchPositionsMethod · 0.45
testFetchLiquidationsMethod · 0.45
testFetchTradingFeeMethod · 0.45
testFetchLastPricesMethod · 0.45
testFetchCurrenciesMethod · 0.45
testFetchMarketsMethod · 0.45
logTemplateMethod · 0.45

Calls

no outgoing calls

Tested by 15

testFetchOrderBooksMethod · 0.36
testFetchPositionsMethod · 0.36
testFetchLiquidationsMethod · 0.36
testFetchTradingFeeMethod · 0.36
testFetchLastPricesMethod · 0.36
testFetchCurrenciesMethod · 0.36
testFetchMarketsMethod · 0.36
logTemplateMethod · 0.36
AssertInArrayMethod · 0.36
AssertTimestampOrderMethod · 0.36
deepEqualMethod · 0.36