UNPKG

@told.club/sdk-rn

Version:
16 lines 419 B
export function convertToJSONString(dictionary) { try { if (Object.keys(dictionary).length === 0) { return '[]'; } const jsonArray = Object.entries(dictionary).map(([key, value]) => ({ key, value })); return JSON.stringify(jsonArray); } catch (error) { console.error('Error: JSONSerialization issue:', error); return '[]'; } } //# sourceMappingURL=hiddenFields.js.map