Skip to content

Commit

Permalink
Tried Codespaces and Made Small Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKnighton authored Oct 7, 2020
1 parent 186282d commit 16911c9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
- name: Pack
run: dotnet pack --configuration Release --no-restore
- name: Push Nupkg to GitHub Packages
# You may pin to the exact commit or the version.
# uses: tanaka-takayoshi/nuget-publish-to-github-packages-action@462b6006e5c90f732d030b0ace2c3e7ee9d550bc
uses: tanaka-takayoshi/[email protected]
with:
# Path of NuPkg
Expand All @@ -40,11 +38,3 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
# skip publishing duplicated package(s)
skip-duplicate: true
# - name: Set API Key
# run: export GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
# - name: Setup GitHub Packages
# run: dotnet nuget add source https://nuget.pkg.github.com/IanKnighton/index.json -n github -u IanKnighton -p GH_TOKEN --store-password-in-clear-text
# - name: Pack
# run: dotnet pack --configuration Release --no-restore
# - name: Push
# run: dotnet nuget push "bin/Release/Cerealizer.*.nupkg" --source "github"
2 changes: 1 addition & 1 deletion Cerealizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackOnBuild>true</PackOnBuild>
<PackageVersion>0.0.2</PackageVersion>
<PackageVersion>0.0.3</PackageVersion>
<Authors>Ian Knighton</Authors>
<Copyright>2020</Copyright>
<Owners>Ian Knighton</Owners>
Expand Down
1 change: 1 addition & 0 deletions JsonCerealizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace Cerealizer
public static class JsonCerealizer
{
#region Cerealize

/// <summary>
/// Serializes the specified object to a JSON string.
/// </summary>
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ dotnet add PROJECT package Cerealizer
Once you have it referenced, it's pretty straight forwared. You can pass or retrieve objects just like you would use Newtonsoft.

```csharp
string serializedObject = JsonCerealizer.CerealizeObject(YourObject)
string serializedObject = JsonCerealizer.CerealizeObject(YourObject);

YourObject test = JsonCerealizer.Decerealize<YourObject>("serializedObject");
```

That's pretty much all there is to it.

0 comments on commit 16911c9

Please sign in to comment.