Skip to content

Commit 83757bd

Browse files
committed
Removed serialize for now
1 parent 798f8f6 commit 83757bd

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/fractured_json/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,6 @@ def minify(self, json_text: str) -> str:
334334
result = self._dotnet_instance.Minify(String(json_text))
335335
return str(result)
336336

337-
def serialize(self, obj: object) -> str:
338-
"""Serialize a Python object to JSON using the underlying .NET implementation."""
339-
result = self._dotnet_instance.Serialize(obj)
340-
return str(result)
341-
342337
@property
343338
def string_length_func(self) -> Callable[[str], int]:
344339
"""Get current string length function."""

src/fractured_json/__init__.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ class Formatter:
4343
def options(self, value: FracturedJsonOptions) -> None: ...
4444
def reformat(self, json_text: str) -> str: ...
4545
def minify(self, json_text: str) -> str: ...
46-
def serialize(self, obj: Any) -> str: ...
4746
@property
4847
def string_length_func(self) -> Callable[[str], int]: ...
4948
@string_length_func.setter

0 commit comments

Comments
 (0)