BooksCacheModel.BookExtensions.ToJson C# (CSharp) Method

ToJson() public static method

public static ToJson ( this book ) : string
book this
return string
        public static string ToJson(this Book book) =>
            JsonConvert.SerializeObject(book);

Same methods

BookExtensions::ToJson ( this books ) : string