All Downloads are FREE. Search and download functionalities are using the official Maven repository.

convex.core.transactions.Transactions Maven / Gradle / Ivy

The newest version!
package convex.core.transactions;

import java.util.HashMap;

import convex.core.lang.RT;

public class Transactions {

	public static HashMap toJSON(ATransaction tx) {
		HashMap result= RT.jsonMap(tx);
		result.put("type", tx.getClass().getSimpleName());
		return result;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy