MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.formats.json/DefaultExportJsonUseCase

DefaultExportJsonUseCase

[jvm]
class DefaultExportJsonUseCase(dispatchers: CoroutineDispatcherProvider) : ExportJsonUseCase

Constructors

   
DefaultExportJsonUseCase [jvm]
constructor(dispatchers: CoroutineDispatcherProvider)

Functions

Name Summary
invoke [jvm]
open suspend operator override fun invoke(segments: List<SegmentModel>, path: String)
Serialize the list of segments into the ngx-translate JSON format and save it to a destination.