Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added json IO #88

Merged
merged 8 commits into from
Mar 19, 2024
Merged

Added json IO #88

merged 8 commits into from
Mar 19, 2024

Conversation

HLWeil
Copy link
Member

@HLWeil HLWeil commented Mar 15, 2024

Json IO and IO function naming standardization

FsSpreadsheet.Json.Workbook.encode wb
|> Thoth.Json.JavaScript.Encode.toString spaces

//static member fromJsonFile (path:string) : Promise<FsWorkbook> =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add tryFromJsonString

[<AttachMembers>]
type Json =

static member fromJsonString (json:string) : FsWorkbook =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add tryFromJsonString

@@ -48,11 +54,7 @@
</PropertyGroup>

<ItemGroup>
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this completly kills fable compatibility

@HLWeil HLWeil merged commit ed6795c into main Mar 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants