public static String toPartitionJsonList ( List < PartitionDescriptor > descriptors ) { return Descriptor . GSON . toJson ( descriptors , DESCRIPTOR_LIST_TYPE ) ; }
Serialize a list of partition descriptors as json string