class PersistenceGsonProvider {

	public Gson get() {
		GsonBuilder gsonBuilder = builder();
		gsonBuilder.registerTypeAdapter(Date.class, new DateTypeAdapter());
		gsonBuilder.registerTypeAdapterFactory(TransactionsTypeAdapter.factory(encryptorProviderService));
		gsonBuilder.registerTypeAdapterFactory(CategoriesTypeAdapter.factory(encryptorProviderService));
		return gsonBuilder.create();
	}

	@Inject  PersistenceGsonProvider(EncryptorProviderService encryptorProviderService);

}